Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 112.5 kB / 16.41 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7361/0.7361, allocations: 93.72 MB / 390.9 MB, free: 4.578 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 87.91 kB / 0.5285 GB, free: 41.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1284, allocations: 68.28 MB / 0.5952 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.09004/0.2185, allocations: 76.55 MB / 0.6699 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.2353, allocations: 10.16 MB / 0.6798 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.2368, allocations: 75.56 kB / 0.6799 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.2391, allocations: 0.6987 MB / 0.6806 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008203/0.2474, allocations: 2.95 MB / 0.6835 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.2514, allocations: 1.467 MB / 0.6849 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.255, allocations: 2.307 MB / 0.6872 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.2561, allocations: 0.5381 MB / 0.6877 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00771/0.2639, allocations: 3.927 MB / 0.6915 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.2657, allocations: 0.8905 MB / 0.6924 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000549/0.2663, allocations: 136 kB / 0.6925 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008669/0.2749, allocations: 4.302 MB / 0.6967 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.2756, allocations: 346.6 kB / 0.697 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.2771, allocations: 0.8276 MB / 0.6979 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007122/0.2842, allocations: 2.826 MB / 0.7006 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2843, allocations: 0 / 0.7006 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2843, allocations: 0 / 0.7006 GB, free: 11.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.27e-05/0.2844, allocations: 0 / 0.7006 GB, free: 11.81 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005082/0.2895, allocations: 2.303 MB / 0.7029 GB, free: 9.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2895, allocations: 12.03 kB / 0.7029 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.2897, allocations: 169.5 kB / 0.703 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.2918, allocations: 330.6 kB / 0.7033 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.2938, allocations: 1.109 MB / 0.7044 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.2939, allocations: 86.25 kB / 0.7045 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.2941, allocations: 127.9 kB / 0.7046 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.297, allocations: 1.294 MB / 0.7059 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.297, allocations: 0 / 0.7059 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.2971, allocations: 51.94 kB / 0.7059 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/0.2972, allocations: 54.23 kB / 0.706 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.2997, allocations: 1.07 MB / 0.707 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008512/0.3083, allocations: 5.54 MB / 0.7125 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.3105, allocations: 1.077 MB / 0.7135 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3116, allocations: 0.5549 MB / 0.714 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/0.3134, allocations: 2.416 MB / 0.7164 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3135, allocations: 47.56 kB / 0.7165 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 3.226e-06/0.3135, allocations: 0 / 0.7165 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.008905/0.3224, allocations: 3.727 MB / 0.7201 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3225, allocations: 64.41 kB / 0.7202 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.3238, allocations: 1.025 MB / 0.7212 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.3239, allocations: 49.7 kB / 0.7212 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/0.3245, allocations: 0.6354 MB / 0.7218 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.3248, allocations: 388.6 kB / 0.7222 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.3251, allocations: 190.9 kB / 0.7224 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3253, allocations: 345.9 kB / 0.7227 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008603/0.3262, allocations: 390.4 kB / 0.7231 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009929/0.3272, allocations: 0.5339 MB / 0.7236 GB, free: 2.801 MB / 0.5606 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/0.3293, allocations: 1.223 MB / 0.7248 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3294, allocations: 0 / 0.7248 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003021/0.3324, allocations: 1.393 MB / 0.7262 GB, free: 68 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3324, allocations: 8 kB / 0.7262 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3325, allocations: 4 kB / 0.7262 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000813/0.3333, allocations: 246.4 kB / 0.7264 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/0.3342, allocations: 223.7 kB / 0.7266 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006488/0.3407, allocations: 5.744 MB / 0.7322 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.3417, allocations: 44.02 kB / 0.7323 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.3419, allocations: 47.98 kB / 0.7323 GB, free: 9.332 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,15,77.8%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007082/0.3426, allocations: 301.5 kB / 0.7326 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.3429, allocations: 147 kB / 0.7327 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.3466, allocations: 1.564 MB / 0.7343 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.3467, allocations: 20 kB / 0.7343 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.3467, allocations: 4 kB / 0.7343 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.3467, allocations: 3.984 kB / 0.7343 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006883/0.3536, allocations: 3.88 MB / 0.7381 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.3536, allocations: 4 kB / 0.7381 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008968/0.3545, allocations: 188.1 kB / 0.7383 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007869/0.3553, allocations: 259.2 kB / 0.7385 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.3555, allocations: 43.97 kB / 0.7386 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2733/0.6288, allocations: 5.746 MB / 0.7442 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.6289, allocations: 7.906 kB / 0.7442 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/0.6328, allocations: 2 MB / 0.7461 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.6331, allocations: 209.2 kB / 0.7463 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.6332, allocations: 28.5 kB / 0.7464 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.6339, allocations: 46.58 kB / 0.7464 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.6341, allocations: 101.5 kB / 0.7465 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/0.6342, allocations: 49.64 kB / 0.7465 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008432/0.6351, allocations: 0.6856 MB / 0.7472 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.423e-06/0.6351, allocations: 0 / 0.7472 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001465/0.6366, allocations: 0.5096 MB / 0.7477 GB, free: 136.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.inlet.m_flow) * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005101/0.6417, allocations: 3.012 MB / 0.7507 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.6447, allocations: 1.481 MB / 0.7521 GB, free: 134 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.6448, allocations: 1.844 kB / 0.7521 GB, free: 134 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.6467, allocations: 1.032 MB / 0.7531 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.6486, allocations: 384 kB / 0.7535 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.6635, allocations: 10.96 MB / 0.7642 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.6641, allocations: 1.235 MB / 0.7654 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00102/0.6652, allocations: 355.9 kB / 0.7657 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/0.6659, allocations: 0.6079 MB / 0.7663 GB, free: 126 MB / 0.5762 GB Notification: Performance of SimCode: time 1.403e-06/0.6659, allocations: 0.9844 kB / 0.7663 GB, free: 126 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07228/0.7382, allocations: 39.44 MB / 0.8048 GB, free: 87.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.21, allocations: 14.3 kB / 0.8049 GB, free: 87.11 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.715804268140346] Failed to read output from testmodel.py, exit status != 0: 15.316492951009423 15.334787357 15.047357625 Calling exit ...