Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001644/0.001644, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 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.00203/0.00203, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.731/2.731, allocations: 476.7 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 61.33 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2411/0.5458, allocations: 198.1 MB / 1.478 GB, free: 4.895 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.5576, allocations: 6.994 MB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.5591, allocations: 63.44 kB / 1.484 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.5613, allocations: 0.7103 MB / 1.485 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006518/0.5678, allocations: 2.478 MB / 1.488 GB, free: 10.62 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.5718, allocations: 1.502 MB / 1.489 GB, free: 9.141 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00504/0.5769, allocations: 3.044 MB / 1.492 GB, free: 6.086 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.5783, allocations: 0.7089 MB / 1.493 GB, free: 5.363 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.5814, allocations: 1.17 MB / 1.494 GB, free: 4.195 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.5832, allocations: 0.8563 MB / 1.495 GB, free: 3.34 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.5835, allocations: 100 kB / 1.495 GB, free: 3.242 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.5878, allocations: 2.198 MB / 1.497 GB, free: 1.039 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006507/0.5885, allocations: 378.7 kB / 1.497 GB, free: 0.668 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009281/0.5894, allocations: 0.5908 MB / 1.498 GB, free: 76 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.5947, allocations: 2.402 MB / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5947, allocations: 4 kB / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5947, allocations: 0 / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.969e-05/0.5947, allocations: 0 / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004188/0.5989, allocations: 1.598 MB / 1.502 GB, free: 12.02 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.599, allocations: 12.03 kB / 1.502 GB, free: 12.01 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.093e-05/0.599, allocations: 17.31 kB / 1.502 GB, free: 11.99 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.5992, allocations: 110.5 kB / 1.502 GB, free: 11.88 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.6023, allocations: 0.5416 MB / 1.502 GB, free: 11.33 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.6052, allocations: 0.9663 MB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/0.6053, allocations: 61.31 kB / 1.503 GB, free: 10.28 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.6055, allocations: 68 kB / 1.504 GB, free: 10.21 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.6082, allocations: 1.112 MB / 1.505 GB, free: 9.074 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.6082, allocations: 3.938 kB / 1.505 GB, free: 9.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.6083, allocations: 28 kB / 1.505 GB, free: 9.043 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.6084, allocations: 33.31 kB / 1.505 GB, free: 9.008 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.6118, allocations: 1.164 MB / 1.506 GB, free: 7.84 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006829/0.6186, allocations: 3.128 MB / 1.509 GB, free: 4.637 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.6205, allocations: 0.647 MB / 1.51 GB, free: 3.984 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.6215, allocations: 394.1 kB / 1.51 GB, free: 3.594 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.622, allocations: 136.3 kB / 1.51 GB, free: 3.461 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.6232, allocations: 0.5061 MB / 1.511 GB, free: 2.926 MB / 1.201 GB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.6232, allocations: 0 / 1.511 GB, free: 2.926 MB / 1.201 GB Notification: Performance of matching and sorting (n=57): time 0.003375/0.6266, allocations: 1.241 MB / 1.512 GB, free: 1.676 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.6267, allocations: 136.9 kB / 1.512 GB, free: 1.512 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.629, allocations: 1.176 MB / 1.513 GB, free: 328 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.6291, allocations: 41.7 kB / 1.513 GB, free: 280 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.6296, allocations: 445.8 kB / 1.513 GB, free: 15.83 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.6299, allocations: 198.3 kB / 1.514 GB, free: 15.64 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.6302, allocations: 142.2 kB / 1.514 GB, free: 15.49 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6304, allocations: 330 kB / 1.514 GB, free: 15.16 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.6318, allocations: 441 kB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.6334, allocations: 0.6019 MB / 1.515 GB, free: 14.08 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.6357, allocations: 0.9176 MB / 1.516 GB, free: 13.11 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.6357, allocations: 4 kB / 1.516 GB, free: 13.11 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00376/0.6395, allocations: 1.197 MB / 1.517 GB, free: 11.89 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/0.6395, allocations: 41.69 kB / 1.517 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.6396, allocations: 4 kB / 1.517 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.6396, allocations: 7.938 kB / 1.517 GB, free: 11.83 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.6406, allocations: 191.8 kB / 1.517 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.6407, allocations: 7.938 kB / 1.517 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6423, allocations: 247.1 kB / 1.518 GB, free: 11.39 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.6424, allocations: 43.97 kB / 1.518 GB, free: 11.35 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0006299/0.643, allocations: 323.4 kB / 1.518 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.6434, allocations: 119.2 kB / 1.518 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.6459, allocations: 1.003 MB / 1.519 GB, free: 9.898 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.6459, allocations: 11.94 kB / 1.519 GB, free: 9.887 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.6459, allocations: 3.984 kB / 1.519 GB, free: 9.883 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6459, allocations: 7.938 kB / 1.519 GB, free: 9.875 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.6521, allocations: 3.142 MB / 1.522 GB, free: 6.586 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.6521, allocations: 8 kB / 1.522 GB, free: 6.578 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.6528, allocations: 120.3 kB / 1.522 GB, free: 6.461 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/0.6528, allocations: 12 kB / 1.522 GB, free: 6.449 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.917e-05/0.6529, allocations: 20 kB / 1.522 GB, free: 6.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/0.6529, allocations: 20.02 kB / 1.522 GB, free: 6.41 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.6529, allocations: 11.94 kB / 1.522 GB, free: 6.398 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.6557, allocations: 1.354 MB / 1.524 GB, free: 4.926 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/0.6564, allocations: 270.8 kB / 1.524 GB, free: 4.66 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.6566, allocations: 23.98 kB / 1.524 GB, free: 4.637 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6577, allocations: 91.91 kB / 1.524 GB, free: 4.547 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6579, allocations: 67.67 kB / 1.524 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.658, allocations: 47.91 kB / 1.524 GB, free: 4.434 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001707/0.6597, allocations: 0.8482 MB / 1.525 GB, free: 3.578 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6597, allocations: 0 / 1.525 GB, free: 3.578 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001304/0.661, allocations: 299.6 kB / 1.525 GB, free: 3.285 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003647/0.6646, allocations: 2.122 MB / 1.527 GB, free: 1.047 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002687/0.6673, allocations: 0.9665 MB / 1.528 GB, free: 72 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.6673, allocations: 4 kB / 1.528 GB, free: 68 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.6684, allocations: 492.8 kB / 1.529 GB, free: 15.57 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/0.6716, allocations: 0.5438 MB / 1.529 GB, free: 15.04 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.6922, allocations: 9.416 MB / 1.539 GB, free: 5.215 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/0.693, allocations: 1.073 MB / 1.54 GB, free: 4.113 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00123/0.6943, allocations: 273.2 kB / 1.54 GB, free: 3.848 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000705/0.695, allocations: 359.3 kB / 1.54 GB, free: 3.496 MB / 1.232 GB Notification: Performance of SimCode: time 9.32e-07/0.695, allocations: 0 / 1.54 GB, free: 3.496 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07414/0.7691, allocations: 32.44 MB / 1.572 GB, free: 3.441 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.81, allocations: 15.12 kB / 1.572 GB, free: 3.43 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.390878496982623] Failed to read output from testmodel.py, exit status != 0: 15.5114057949977 15.046550532 14.44618246 Calling exit ...