Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007729/0.0007729, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008076/0.0008076, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8045/0.8045, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6037/0.6037, allocations: 116 MB / 375.2 MB, free: 4.195 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.101e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.02338/0.0234, allocations: 37.8 MB / 0.5902 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006591/0.02999, allocations: 6.936 MB / 0.5969 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.03106, allocations: 63.38 kB / 0.597 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.03216, allocations: 496.3 kB / 0.5975 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.03494, allocations: 1.478 MB / 0.5989 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.03681, allocations: 0.9647 MB / 0.5999 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002222/0.03904, allocations: 2.264 MB / 0.6021 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.03934, allocations: 165 kB / 0.6022 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.04165, allocations: 1.553 MB / 0.6037 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.0423, allocations: 0.6192 MB / 0.6043 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.0424, allocations: 96 kB / 0.6044 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.04389, allocations: 0.7641 MB / 0.6052 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.04409, allocations: 274.7 kB / 0.6054 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.04448, allocations: 474.8 kB / 0.6059 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.04684, allocations: 1.939 MB / 0.6078 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.04685, allocations: 4 kB / 0.6078 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.04685, allocations: 0 / 0.6078 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.04686, allocations: 0 / 0.6078 GB, free: 5.262 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00214/0.049, allocations: 1.694 MB / 0.6095 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.04905, allocations: 12.03 kB / 0.6095 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.04916, allocations: 135.5 kB / 0.6096 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.04965, allocations: 215.7 kB / 0.6098 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.05083, allocations: 0.8184 MB / 0.6106 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.05093, allocations: 121.4 kB / 0.6107 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.05102, allocations: 95.95 kB / 0.6108 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.05228, allocations: 1.396 MB / 0.6122 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.0523, allocations: 3.938 kB / 0.6122 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.05236, allocations: 36 kB / 0.6122 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.05238, allocations: 24 kB / 0.6122 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.05345, allocations: 0.9095 MB / 0.6131 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.05729, allocations: 3.433 MB / 0.6165 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.05854, allocations: 0.8751 MB / 0.6173 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.05901, allocations: 407.8 kB / 0.6177 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/0.06077, allocations: 1.302 MB / 0.619 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.06081, allocations: 51 kB / 0.619 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=99): time 3.246e-06/0.06081, allocations: 3.938 kB / 0.619 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of matching and sorting (n=112): time 0.005768/0.06658, allocations: 3.795 MB / 0.6227 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.06662, allocations: 90.11 kB / 0.6228 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.06733, allocations: 0.8391 MB / 0.6236 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.06738, allocations: 45.7 kB / 0.6237 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.06765, allocations: 0.5051 MB / 0.6242 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.06785, allocations: 412.5 kB / 0.6246 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.06804, allocations: 190.9 kB / 0.6248 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.06813, allocations: 353.9 kB / 0.6251 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.06863, allocations: 378.5 kB / 0.6255 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.0692, allocations: 0.5634 MB / 0.626 GB, free: 2.02 MB / 0.5417 GB 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.001224/0.07043, allocations: 1.005 MB / 0.627 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.07043, allocations: 4 kB / 0.627 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002026/0.07246, allocations: 1.483 MB / 0.6284 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.07249, allocations: 14.64 kB / 0.6285 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008511/0.07334, allocations: 0.6572 MB / 0.6291 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/0.07403, allocations: 342.5 kB / 0.6294 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.07446, allocations: 211.7 kB / 0.6296 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/0.08057, allocations: 11.71 MB / 0.6411 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.0813, allocations: 44.03 kB / 0.6411 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.08138, allocations: 47.98 kB / 0.6412 GB, free: 1.457 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.08182, allocations: 256.3 kB / 0.6414 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.08203, allocations: 139.1 kB / 0.6415 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.228/0.3101, allocations: 1.577 MB / 0.6431 GB, free: 92.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.3101, allocations: 12.41 kB / 0.6431 GB, free: 92.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.3101, allocations: 5.156 kB / 0.6431 GB, free: 92.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.3101, allocations: 10.38 kB / 0.6431 GB, free: 92.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.3137, allocations: 2.493 MB / 0.6455 GB, free: 92.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0009028/0.3146, allocations: 0.6712 MB / 0.6462 GB, free: 92.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.315, allocations: 180.6 kB / 0.6464 GB, free: 92.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.3157, allocations: 358 kB / 0.6467 GB, free: 92.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.3158, allocations: 33.78 kB / 0.6467 GB, free: 92.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/0.3203, allocations: 11.72 MB / 0.6582 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3203, allocations: 3.469 kB / 0.6582 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.3231, allocations: 2.074 MB / 0.6602 GB, free: 80.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.3236, allocations: 213.4 kB / 0.6604 GB, free: 80.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.3237, allocations: 28.98 kB / 0.6604 GB, free: 80.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.3241, allocations: 52.84 kB / 0.6605 GB, free: 80.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.3243, allocations: 101.8 kB / 0.6606 GB, free: 80.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.3243, allocations: 45.59 kB / 0.6606 GB, free: 80.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005877/0.3249, allocations: 0.5783 MB / 0.6612 GB, free: 79.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3249, allocations: 3.562 kB / 0.6612 GB, free: 79.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001216/0.3262, allocations: 455.3 kB / 0.6616 GB, free: 79.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.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 (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003797/0.3299, allocations: 2.919 MB / 0.6645 GB, free: 78.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003036/0.333, allocations: 1.974 MB / 0.6664 GB, free: 77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.333, allocations: 1.156 kB / 0.6664 GB, free: 77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.3349, allocations: 1.522 MB / 0.6679 GB, free: 75.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.3368, allocations: 0.5202 MB / 0.6684 GB, free: 75.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.3512, allocations: 9.953 MB / 0.6781 GB, free: 70.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/0.3518, allocations: 0.5222 MB / 0.6786 GB, free: 70.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001061/0.3529, allocations: 226.8 kB / 0.6788 GB, free: 70.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.3533, allocations: 485.2 kB / 0.6793 GB, free: 70.17 MB / 0.5573 GB Notification: Performance of SimCode: time 1.993e-06/0.3533, allocations: 1.125 kB / 0.6793 GB, free: 70.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06082/0.4141, allocations: 41.77 MB / 0.7201 GB, free: 34.49 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.159, allocations: 11.48 kB / 0.7201 GB, free: 34.48 MB / 0.5573 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.529818777926266] Failed to read output from testmodel.py, exit status != 0: 9.268622517585754 9.276174817 9.227477477 Calling exit ...