Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.0008056/0.0008056, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.0008348/0.0008348, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.929/0.929, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.841/1.841, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 3.938 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.484e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.5639/0.5639, allocations: 141 MB / 1.138 GB, free: 12.21 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.5676, allocations: 3.517 MB / 1.142 GB, free: 9.848 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.5678, allocations: 19.41 kB / 1.142 GB, free: 9.836 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.5683, allocations: 183 kB / 1.142 GB, free: 9.73 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.57, allocations: 0.8776 MB / 1.143 GB, free: 9.262 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.5707, allocations: 455.2 kB / 1.143 GB, free: 9.047 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.5717, allocations: 1.028 MB / 1.144 GB, free: 8.582 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.5721, allocations: 216.5 kB / 1.145 GB, free: 8.488 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009827/0.573, allocations: 0.7067 MB / 1.145 GB, free: 8.18 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007262/0.5738, allocations: 297.7 kB / 1.145 GB, free: 8.09 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.5738, allocations: 33.12 kB / 1.146 GB, free: 8.09 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.5747, allocations: 0.5983 MB / 1.146 GB, free: 7.871 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.5749, allocations: 172.6 kB / 1.146 GB, free: 7.797 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.5751, allocations: 150.3 kB / 1.146 GB, free: 7.738 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009603/0.5761, allocations: 0.7686 MB / 1.147 GB, free: 7.477 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5761, allocations: 0 / 1.147 GB, free: 7.477 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5761, allocations: 0 / 1.147 GB, free: 7.477 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.5761, allocations: 5.062 kB / 1.147 GB, free: 7.473 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009512/0.5771, allocations: 0.6671 MB / 1.148 GB, free: 6.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.5771, allocations: 10.47 kB / 1.148 GB, free: 6.98 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.5772, allocations: 64.39 kB / 1.148 GB, free: 6.926 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/0.5778, allocations: 156 kB / 1.148 GB, free: 6.887 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.5783, allocations: 330.9 kB / 1.148 GB, free: 6.656 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.5783, allocations: 21.06 kB / 1.148 GB, free: 6.645 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.5784, allocations: 32.91 kB / 1.148 GB, free: 6.633 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.5788, allocations: 426.2 kB / 1.149 GB, free: 6.387 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5789, allocations: 1.125 kB / 1.149 GB, free: 6.387 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.5789, allocations: 15.75 kB / 1.149 GB, free: 6.375 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.5789, allocations: 6.25 kB / 1.149 GB, free: 6.375 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.5793, allocations: 304.5 kB / 1.149 GB, free: 6.289 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.5805, allocations: 0.8632 MB / 1.15 GB, free: 5.781 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.5808, allocations: 271.5 kB / 1.15 GB, free: 5.672 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.581, allocations: 177.3 kB / 1.15 GB, free: 5.609 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.5811, allocations: 40.67 kB / 1.15 GB, free: 5.602 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5812, allocations: 34.22 kB / 1.15 GB, free: 5.562 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.5812, allocations: 1.125 kB / 1.15 GB, free: 5.562 MB / 1.01 GB Notification: Performance of matching and sorting (n=35): time 0.00146/0.5826, allocations: 0.9632 MB / 1.151 GB, free: 5.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5827, allocations: 55.53 kB / 1.151 GB, free: 5.027 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.5829, allocations: 314.9 kB / 1.152 GB, free: 4.867 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.583, allocations: 31.83 kB / 1.152 GB, free: 4.832 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.269e-05/0.583, allocations: 173.5 kB / 1.152 GB, free: 4.684 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/0.5831, allocations: 126.1 kB / 1.152 GB, free: 4.582 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.5832, allocations: 64.38 kB / 1.152 GB, free: 4.543 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.5833, allocations: 351.4 kB / 1.152 GB, free: 4.211 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.5835, allocations: 116 kB / 1.153 GB, free: 4.176 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.5837, allocations: 267.2 kB / 1.153 GB, free: 3.984 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.5849, allocations: 0.6847 MB / 1.154 GB, free: 3.762 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5849, allocations: 1.75 kB / 1.154 GB, free: 3.762 MB / 1.01 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004175/0.5853, allocations: 357.1 kB / 1.154 GB, free: 3.613 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5854, allocations: 8.562 kB / 1.154 GB, free: 3.613 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5854, allocations: 0.9375 kB / 1.154 GB, free: 3.613 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5854, allocations: 2.219 kB / 1.154 GB, free: 3.613 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5856, allocations: 67 kB / 1.154 GB, free: 3.605 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5856, allocations: 6.25 kB / 1.154 GB, free: 3.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.5857, allocations: 22.64 kB / 1.154 GB, free: 3.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.5858, allocations: 9.141 kB / 1.154 GB, free: 3.59 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001466/0.5859, allocations: 174.7 kB / 1.154 GB, free: 3.445 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.586, allocations: 34.33 kB / 1.154 GB, free: 3.43 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.586, allocations: 49.86 kB / 1.154 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.586, allocations: 3.375 kB / 1.154 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.586, allocations: 5.984 kB / 1.154 GB, free: 3.391 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004233/0.5864, allocations: 413.2 kB / 1.155 GB, free: 3.141 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5876, allocations: 0.985 MB / 1.156 GB, free: 2.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5876, allocations: 4.469 kB / 1.156 GB, free: 2.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.5878, allocations: 83.34 kB / 1.156 GB, free: 2.512 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5878, allocations: 4.688 kB / 1.156 GB, free: 2.512 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.5878, allocations: 11.75 kB / 1.156 GB, free: 2.508 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.5878, allocations: 11.19 kB / 1.156 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5878, allocations: 6.406 kB / 1.156 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.5885, allocations: 0.6804 MB / 1.156 GB, free: 2.082 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.5886, allocations: 66.67 kB / 1.156 GB, free: 2.051 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.5887, allocations: 15.88 kB / 1.156 GB, free: 2.043 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5889, allocations: 19.83 kB / 1.156 GB, free: 2.035 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.5889, allocations: 38.03 kB / 1.156 GB, free: 2.023 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.5889, allocations: 11.97 kB / 1.157 GB, free: 2.023 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001786/0.5891, allocations: 228.2 kB / 1.157 GB, free: 1.902 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5891, allocations: 0 / 1.157 GB, free: 1.902 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003361/0.5894, allocations: 115.1 kB / 1.157 GB, free: 1.887 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.001006/0.5904, allocations: 1.281 MB / 1.158 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.5909, allocations: 295.1 kB / 1.158 GB, free: 0.8242 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5909, allocations: 1.406 kB / 1.158 GB, free: 0.8242 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.5911, allocations: 166 kB / 1.159 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.5917, allocations: 215.2 kB / 1.159 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.5955, allocations: 3.604 MB / 1.162 GB, free: 14.47 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.5957, allocations: 218.6 kB / 1.162 GB, free: 14.37 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002562/0.5959, allocations: 104.5 kB / 1.163 GB, free: 14.36 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.5961, allocations: 119.9 kB / 1.163 GB, free: 14.27 MB / 1.026 GB Notification: Performance of SimCode: time 5.61e-07/0.5961, allocations: 0 / 1.163 GB, free: 14.27 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08862/0.6847, allocations: 12.35 MB / 1.175 GB, free: 12.44 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.995, allocations: 5.203 kB / 1.175 GB, free: 12.44 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_fmpy_res.csv --start-time 0 --stop-time 2700 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.529024227522314]