Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit") translateModel(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09204/0.09204, allocations: 21.6 MB / 37.4 MB, free: 0.7578 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 188.5 kB / 43.63 MB, free: 3.574 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.1 MB / 254.8 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 108 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 54.06 kB / 370.3 MB, free: 60.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09467/0.09572, allocations: 51.97 MB / 422.2 MB, free: 16.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit): time 0.003096/0.09887, allocations: 2.122 MB / 424.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1009, allocations: 1.97 MB / 426.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.1011, allocations: 4 kB / 426.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.1015, allocations: 179.1 kB / 426.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.1021, allocations: 267 kB / 426.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1026, allocations: 439.4 kB / 427.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008528/0.1035, allocations: 1.431 MB / 428.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.1037, allocations: 193.9 kB / 428.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.1041, allocations: 470.2 kB / 429.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.1045, allocations: 0.5135 MB / 429.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.1045, allocations: 32 kB / 429.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1047, allocations: 67.89 kB / 429.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1049, allocations: 287.1 kB / 430.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.1051, allocations: 317.8 kB / 430.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.1056, allocations: 0.876 MB / 431.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1056, allocations: 0 / 431.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1056, allocations: 4 kB / 431.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1056, allocations: 0 / 431.4 MB, free: 7.406 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003619/0.1093, allocations: 1.565 MB / 432.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1093, allocations: 8.031 kB / 432.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.1094, allocations: 95.81 kB / 433 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.1115, allocations: 0.9874 MB / 434 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1115, allocations: 29.03 kB / 434 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.1116, allocations: 44.28 kB / 434.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.1122, allocations: 430.2 kB / 434.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1122, allocations: 8 kB / 434.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.1122, allocations: 11.94 kB / 434.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1122, allocations: 8 kB / 434.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.1129, allocations: 0.5217 MB / 435.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.115, allocations: 1.568 MB / 436.6 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.1159, allocations: 0.7079 MB / 437.3 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.1162, allocations: 252.7 kB / 437.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.1163, allocations: 7.938 kB / 437.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.1163, allocations: 46.5 kB / 437.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.452e-06/0.1163, allocations: 0 / 437.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001778/0.1181, allocations: 1.022 MB / 438.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.1182, allocations: 55.41 kB / 438.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.1206, allocations: 1.191 MB / 439.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1207, allocations: 37.7 kB / 439.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.1209, allocations: 332.8 kB / 440.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.121, allocations: 169.5 kB / 440.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1212, allocations: 114.2 kB / 440.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1214, allocations: 333.9 kB / 440.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.1221, allocations: 341 kB / 441.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.1228, allocations: 349.3 kB / 441.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/0.1277, allocations: 1.694 MB / 443.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1277, allocations: 0 / 443.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001624/0.1293, allocations: 0.8906 MB / 444.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1293, allocations: 4 kB / 444.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1293, allocations: 0 / 444.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1294, allocations: 4 kB / 444.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/0.1304, allocations: 207.7 kB / 444.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1304, allocations: 0 / 444.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.1315, allocations: 211.3 kB / 444.5 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.1316, allocations: 16 kB / 444.6 MB, free: 9.953 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: D.Fcs1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] D.Fcs2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.1319, allocations: 273.6 kB / 444.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.132, allocations: 78.97 kB / 444.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.1322, allocations: 99.7 kB / 445 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1322, allocations: 4 kB / 445 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.1323, allocations: 4 kB / 445 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1323, allocations: 7.875 kB / 445 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.1331, allocations: 0.7272 MB / 445.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1331, allocations: 4 kB / 445.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.1335, allocations: 67.91 kB / 445.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.1338, allocations: 88.78 kB / 445.9 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.1338, allocations: 16 kB / 445.9 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.1355, allocations: 1.712 MB / 447.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1355, allocations: 0 / 447.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009013/0.1445, allocations: 6.712 MB / 454.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.1448, allocations: 191.9 kB / 454.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.1448, allocations: 12 kB / 454.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/0.1458, allocations: 139.8 kB / 454.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/0.1459, allocations: 27.95 kB / 454.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.146, allocations: 12 kB / 454.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00217/0.1481, allocations: 0.9164 MB / 455.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1482, allocations: 0 / 455.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006463/0.1488, allocations: 191.8 kB / 455.8 MB, free: 14.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (Pdec.P11.x_scaled[1],Pdec.P12.x_scaled[1],Pdec.P21.x_scaled[1],Pdec.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],D.Fcs2.x_scaled[1],D.Fcs1.x_scaled[1],P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001898/0.149, allocations: 119.2 kB / 455.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1502, allocations: 0.6677 MB / 456.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1502, allocations: 0 / 456.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.1508, allocations: 422.2 kB / 457 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.1514, allocations: 136.2 kB / 457.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.1547, allocations: 2.385 MB / 459.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.1553, allocations: 1.046 MB / 460.6 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.1557, allocations: 159.8 kB / 460.7 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.1559, allocations: 55.44 kB / 460.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1559, allocations: 0 / 460.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of Templates: time 0.01482/0.1707, allocations: 9.707 MB / 470.5 MB, free: 15.38 MB / 346.7 MB make -j1 -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.makefile (rm -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.sim & ./AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe 2>&1)