Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 110.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7083/0.7083, allocations: 91.18 MB / 382.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.88 kB / 0.5175 GB, free: 4.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2613, allocations: 67.69 MB / 0.5836 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.5068/0.7681, allocations: 284.6 MB / 0.8615 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.7957, allocations: 27.33 MB / 0.8882 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000974/0.7967, allocations: 47.69 kB / 0.8882 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003094/0.7998, allocations: 1.45 MB / 0.8897 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.8105, allocations: 4.742 MB / 0.8943 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.8152, allocations: 2.053 MB / 0.8963 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.8178, allocations: 2.221 MB / 0.8985 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008469/0.8186, allocations: 0.6265 MB / 0.8991 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.8209, allocations: 1.378 MB / 0.9004 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.8222, allocations: 0.9843 MB / 0.9014 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.8225, allocations: 140 kB / 0.9015 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01431/0.8368, allocations: 8.906 MB / 0.9102 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.8374, allocations: 490.5 kB / 0.9107 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009989/0.8384, allocations: 0.8357 MB / 0.9115 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009399/0.8478, allocations: 5.534 MB / 0.9169 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8478, allocations: 0 / 0.9169 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8478, allocations: 0 / 0.9169 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.105e-05/0.8479, allocations: 0 / 0.9169 GB, free: 3.562 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005429/0.8533, allocations: 2.7 MB / 0.9195 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8534, allocations: 11.97 kB / 0.9196 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.8537, allocations: 181.8 kB / 0.9197 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.8553, allocations: 1.001 MB / 0.9207 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.031e-05/0.8554, allocations: 90.33 kB / 0.9208 GB, free: 15.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.8556, allocations: 123.9 kB / 0.9209 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.8581, allocations: 1.766 MB / 0.9226 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.8582, allocations: 0 / 0.9226 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.8583, allocations: 55.97 kB / 0.9227 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.8584, allocations: 110.4 kB / 0.9228 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.8609, allocations: 1.887 MB / 0.9246 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00833/0.8693, allocations: 7.968 MB / 0.9324 GB, free: 2.68 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.8707, allocations: 0.9048 MB / 0.9333 GB, free: 1.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009202/0.8716, allocations: 0.6909 MB / 0.934 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.8731, allocations: 2.351 MB / 0.9363 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.8731, allocations: 51.5 kB / 0.9363 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=101): time 2.725e-06/0.8731, allocations: 0 / 0.9363 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103): time 0.006143/0.8793, allocations: 3.836 MB / 0.9401 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.8793, allocations: 64.41 kB / 0.9401 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.8802, allocations: 0.7928 MB / 0.9409 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-05/0.8803, allocations: 41.7 kB / 0.9409 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.8807, allocations: 0.6013 MB / 0.9415 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.8809, allocations: 358.8 kB / 0.9419 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.8812, allocations: 182.6 kB / 0.942 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8814, allocations: 341.9 kB / 0.9424 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007377/0.8821, allocations: 0.4939 MB / 0.9429 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/0.8829, allocations: 0.5802 MB / 0.9434 GB, free: 6.688 MB / 0.6856 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.8847, allocations: 1.234 MB / 0.9446 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8847, allocations: 0 / 0.9446 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002404/0.8871, allocations: 1.5 MB / 0.9461 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8872, allocations: 8 kB / 0.9461 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.8872, allocations: 4.094 kB / 0.9461 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.8877, allocations: 175.4 kB / 0.9463 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.8884, allocations: 179.8 kB / 0.9464 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.8915, allocations: 2.698 MB / 0.9491 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.8919, allocations: 28.02 kB / 0.9491 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.8921, allocations: 63.97 kB / 0.9492 GB, free: 0.6211 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (95): * Single equations (assignments): 89 * Array equations: 5 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000478/0.8926, allocations: 350 kB / 0.9495 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.8928, allocations: 106.7 kB / 0.9496 GB, free: 172 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.8963, allocations: 2.127 MB / 0.9517 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.8963, allocations: 7.969 kB / 0.9517 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8963, allocations: 0 / 0.9517 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.8965, allocations: 183.6 kB / 0.9519 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.8966, allocations: 16 kB / 0.9519 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.8971, allocations: 31.97 kB / 0.9519 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.8972, allocations: 92.86 kB / 0.952 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002894/0.9001, allocations: 1.586 MB / 0.9535 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003096/0.9032, allocations: 2.328 MB / 0.9558 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008396/0.9041, allocations: 0.6325 MB / 0.9564 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006905/0.9048, allocations: 0.5787 MB / 0.957 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of Backend: time 4.51e-07/0.9048, allocations: 0 / 0.957 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006449/0.9112, allocations: 2.887 MB / 0.9598 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of SimCode: time 0.004031/0.9153, allocations: 3.121 MB / 0.9629 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of Templates: time 0.06837/0.9837, allocations: 51.15 MB / 1.013 GB, free: 15.42 MB / 0.7637 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1)