Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002073/0.002073, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00267/0.00267, allocations: 219.4 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.651/1.651, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.625/3.625, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_12_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.002166/0.002166, allocations: 68.86 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4127, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2501/0.6629, allocations: 198.2 MB / 1.52 GB, free: 11.07 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.6756, allocations: 6.982 MB / 1.527 GB, free: 4.074 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.6774, allocations: 67.38 kB / 1.527 GB, free: 4.008 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.6798, allocations: 0.7064 MB / 1.528 GB, free: 3.297 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.6874, allocations: 2.478 MB / 1.53 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.6917, allocations: 1.495 MB / 1.532 GB, free: 15.33 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005515/0.6972, allocations: 3.037 MB / 1.535 GB, free: 12.29 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.699, allocations: 0.7088 MB / 1.535 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005141/0.7041, allocations: 1.624 MB / 1.537 GB, free: 9.938 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.7063, allocations: 0.8462 MB / 1.538 GB, free: 9.094 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.7069, allocations: 100 kB / 1.538 GB, free: 8.996 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005396/0.7122, allocations: 2.167 MB / 1.54 GB, free: 6.824 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008185/0.7131, allocations: 382.6 kB / 1.54 GB, free: 6.449 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.7145, allocations: 0.5869 MB / 1.541 GB, free: 5.859 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005906/0.7204, allocations: 2.398 MB / 1.543 GB, free: 3.453 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7204, allocations: 0 / 1.543 GB, free: 3.453 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7204, allocations: 3.938 kB / 1.543 GB, free: 3.449 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.703e-05/0.7204, allocations: 0 / 1.543 GB, free: 3.449 MB / 1.232 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.00503/0.7255, allocations: 1.59 MB / 1.545 GB, free: 1.816 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.7255, allocations: 19.97 kB / 1.545 GB, free: 1.797 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.896e-05/0.7256, allocations: 17.31 kB / 1.545 GB, free: 1.781 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.7258, allocations: 118.5 kB / 1.545 GB, free: 1.656 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.7291, allocations: 0.5416 MB / 1.545 GB, free: 1.113 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.732, allocations: 0.969 MB / 1.546 GB, free: 116 kB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.7321, allocations: 49.31 kB / 1.546 GB, free: 68 kB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.7323, allocations: 68 kB / 1.546 GB, free: 0 / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.7353, allocations: 1.109 MB / 1.548 GB, free: 14.86 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.7353, allocations: 8 kB / 1.548 GB, free: 14.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.7354, allocations: 24 kB / 1.548 GB, free: 14.83 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.738e-05/0.7355, allocations: 33.3 kB / 1.548 GB, free: 14.8 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.739, allocations: 1.157 MB / 1.549 GB, free: 13.64 MB / 1.248 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.007503/0.7465, allocations: 3.136 MB / 1.552 GB, free: 10.44 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.7485, allocations: 0.6528 MB / 1.552 GB, free: 9.773 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009528/0.7495, allocations: 391.1 kB / 1.553 GB, free: 9.391 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.7501, allocations: 132.3 kB / 1.553 GB, free: 9.262 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.7515, allocations: 0.51 MB / 1.553 GB, free: 8.727 MB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 4.088e-06/0.7515, allocations: 4 kB / 1.553 GB, free: 8.723 MB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.003694/0.7552, allocations: 1.226 MB / 1.555 GB, free: 7.484 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.7553, allocations: 144.8 kB / 1.555 GB, free: 7.312 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.7579, allocations: 1.18 MB / 1.556 GB, free: 6.117 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/0.7581, allocations: 37.7 kB / 1.556 GB, free: 6.074 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/0.7587, allocations: 437.9 kB / 1.556 GB, free: 5.641 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.759, allocations: 198.3 kB / 1.557 GB, free: 5.445 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.7595, allocations: 146.2 kB / 1.557 GB, free: 5.293 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.7597, allocations: 334 kB / 1.557 GB, free: 4.961 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.7611, allocations: 437 kB / 1.557 GB, free: 4.535 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.7628, allocations: 0.5902 MB / 1.558 GB, free: 3.895 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.7653, allocations: 0.9371 MB / 1.559 GB, free: 2.898 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.7653, allocations: 0 / 1.559 GB, free: 2.898 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003857/0.7691, allocations: 1.197 MB / 1.56 GB, free: 1.691 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/0.7692, allocations: 45.91 kB / 1.56 GB, free: 1.641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.7692, allocations: 4 kB / 1.56 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.7693, allocations: 7.938 kB / 1.56 GB, free: 1.629 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.7704, allocations: 187.7 kB / 1.56 GB, free: 1.445 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.7704, allocations: 11.94 kB / 1.56 GB, free: 1.434 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.7722, allocations: 251.1 kB / 1.561 GB, free: 1.188 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.7724, allocations: 31.98 kB / 1.561 GB, free: 1.156 MB / 1.248 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.0008342/0.7732, allocations: 331.3 kB / 1.561 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004256/0.7737, allocations: 119.2 kB / 1.561 GB, free: 0.6992 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.7762, allocations: 0.9977 MB / 1.562 GB, free: 15.69 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.7762, allocations: 11.94 kB / 1.562 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.7762, allocations: 7.938 kB / 1.562 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.7763, allocations: 3.984 kB / 1.562 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006176/0.7824, allocations: 3.13 MB / 1.565 GB, free: 12.39 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.7824, allocations: 8 kB / 1.565 GB, free: 12.39 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.7831, allocations: 119.8 kB / 1.565 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/0.7831, allocations: 12 kB / 1.565 GB, free: 12.26 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-05/0.7832, allocations: 27.98 kB / 1.565 GB, free: 12.23 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.752e-05/0.7832, allocations: 11.94 kB / 1.565 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.7832, allocations: 11.94 kB / 1.565 GB, free: 12.21 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.7859, allocations: 1.351 MB / 1.567 GB, free: 10.73 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008/0.7867, allocations: 262.8 kB / 1.567 GB, free: 10.48 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/0.787, allocations: 24 kB / 1.567 GB, free: 10.45 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7883, allocations: 103.9 kB / 1.567 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.7884, allocations: 63.69 kB / 1.567 GB, free: 10.29 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.7885, allocations: 35.97 kB / 1.567 GB, free: 10.25 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001833/0.7904, allocations: 0.8521 MB / 1.568 GB, free: 9.395 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7904, allocations: 3.938 kB / 1.568 GB, free: 9.391 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001479/0.7919, allocations: 299.6 kB / 1.568 GB, free: 9.098 MB / 1.264 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.003729/0.7956, allocations: 2.148 MB / 1.57 GB, free: 6.832 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.7983, allocations: 0.9781 MB / 1.571 GB, free: 5.844 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.7983, allocations: 4 kB / 1.571 GB, free: 5.84 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.7994, allocations: 478.9 kB / 1.572 GB, free: 5.363 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/0.8029, allocations: 0.5518 MB / 1.572 GB, free: 4.82 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/0.8228, allocations: 9.414 MB / 1.581 GB, free: 11.01 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.8238, allocations: 1.073 MB / 1.583 GB, free: 9.902 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001199/0.825, allocations: 271 kB / 1.583 GB, free: 9.637 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/0.8257, allocations: 363.3 kB / 1.583 GB, free: 9.281 MB / 1.279 GB Notification: Performance of SimCode: time 2.134e-06/0.8257, allocations: 7.938 kB / 1.583 GB, free: 9.273 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7885/1.614, allocations: 32.43 MB / 1.615 GB, free: 278.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.89, allocations: 4.75 kB / 1.615 GB, free: 278.4 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.587730106024537] Failed to read output from testmodel.py, exit status != 0: 16.075690904981457 16.095207413 15.371050832 Calling exit ...