Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001334/0.001334, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001392/0.001392, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.037/3.037, allocations: 0.5003 GB / 0.8026 GB, free: 6.863 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_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.002034/0.002034, allocations: 63.89 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8742/0.8763, allocations: 179 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2317/1.108, allocations: 197.8 MB / 1.533 GB, free: 2.328 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01122/1.119, allocations: 6.95 MB / 1.54 GB, free: 11.36 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/1.121, allocations: 71.38 kB / 1.54 GB, free: 11.29 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/1.123, allocations: 0.7064 MB / 1.541 GB, free: 10.58 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005743/1.128, allocations: 2.439 MB / 1.543 GB, free: 8.133 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/1.132, allocations: 1.432 MB / 1.545 GB, free: 6.719 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004532/1.136, allocations: 2.982 MB / 1.548 GB, free: 3.727 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/1.138, allocations: 0.7395 MB / 1.548 GB, free: 2.977 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/1.142, allocations: 1.603 MB / 1.55 GB, free: 1.375 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/1.143, allocations: 0.8285 MB / 1.551 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/1.143, allocations: 100 kB / 1.551 GB, free: 460 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/1.147, allocations: 2.136 MB / 1.553 GB, free: 14.3 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000569/1.148, allocations: 382.6 kB / 1.553 GB, free: 13.93 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008492/1.149, allocations: 0.5869 MB / 1.554 GB, free: 13.34 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004593/1.153, allocations: 2.394 MB / 1.556 GB, free: 10.94 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.153, allocations: 0 / 1.556 GB, free: 10.94 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.443e-06/1.153, allocations: 0 / 1.556 GB, free: 10.94 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.434e-05/1.154, allocations: 4 kB / 1.556 GB, free: 10.94 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.003954/1.157, allocations: 1.673 MB / 1.558 GB, free: 9.203 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.158, allocations: 12.03 kB / 1.558 GB, free: 9.191 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.134e-05/1.158, allocations: 17.31 kB / 1.558 GB, free: 9.176 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/1.158, allocations: 118.4 kB / 1.558 GB, free: 9.051 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/1.161, allocations: 0.5377 MB / 1.558 GB, free: 8.512 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/1.163, allocations: 1.053 MB / 1.559 GB, free: 7.418 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/1.163, allocations: 49.31 kB / 1.559 GB, free: 7.371 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.164, allocations: 72 kB / 1.56 GB, free: 7.301 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/1.166, allocations: 1.116 MB / 1.561 GB, free: 6.156 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.166, allocations: 0 / 1.561 GB, free: 6.156 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/1.166, allocations: 31.98 kB / 1.561 GB, free: 6.125 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/1.166, allocations: 25.31 kB / 1.561 GB, free: 6.102 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/1.17, allocations: 1.168 MB / 1.562 GB, free: 4.93 MB / 1.232 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.006321/1.176, allocations: 3.168 MB / 1.565 GB, free: 1.684 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/1.178, allocations: 0.649 MB / 1.566 GB, free: 1.027 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/1.179, allocations: 394.2 kB / 1.566 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.18, allocations: 1.021 MB / 1.567 GB, free: 15.4 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/1.181, allocations: 0.5143 MB / 1.567 GB, free: 14.85 MB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 3.136e-06/1.181, allocations: 0 / 1.567 GB, free: 14.85 MB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.00334/1.184, allocations: 1.225 MB / 1.569 GB, free: 13.62 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.184, allocations: 144.9 kB / 1.569 GB, free: 13.45 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.186, allocations: 1.184 MB / 1.57 GB, free: 12.25 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/1.187, allocations: 37.7 kB / 1.57 GB, free: 12.2 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/1.187, allocations: 433.9 kB / 1.57 GB, free: 11.78 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/1.187, allocations: 198.3 kB / 1.571 GB, free: 11.58 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/1.188, allocations: 154.1 kB / 1.571 GB, free: 11.43 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.188, allocations: 326 kB / 1.571 GB, free: 11.1 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/1.189, allocations: 448.9 kB / 1.571 GB, free: 10.66 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/1.191, allocations: 0.5969 MB / 1.572 GB, free: 10.02 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/1.193, allocations: 0.9262 MB / 1.573 GB, free: 9.043 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.193, allocations: 0 / 1.573 GB, free: 9.043 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00334/1.196, allocations: 1.202 MB / 1.574 GB, free: 7.824 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/1.196, allocations: 41.69 kB / 1.574 GB, free: 7.777 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.196, allocations: 4 kB / 1.574 GB, free: 7.773 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/1.196, allocations: 11.94 kB / 1.574 GB, free: 7.762 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/1.197, allocations: 183.9 kB / 1.574 GB, free: 7.582 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/1.197, allocations: 15.92 kB / 1.574 GB, free: 7.566 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.199, allocations: 251 kB / 1.575 GB, free: 7.32 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.199, allocations: 35.92 kB / 1.575 GB, free: 7.285 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.0006005/1.199, allocations: 332.8 kB / 1.575 GB, free: 6.945 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/1.2, allocations: 119.2 kB / 1.575 GB, free: 6.828 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/1.202, allocations: 1.002 MB / 1.576 GB, free: 5.812 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.202, allocations: 7.938 kB / 1.576 GB, free: 5.805 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.202, allocations: 4 kB / 1.576 GB, free: 5.801 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/1.202, allocations: 3.984 kB / 1.576 GB, free: 5.797 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/1.208, allocations: 3.158 MB / 1.579 GB, free: 2.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.208, allocations: 4 kB / 1.579 GB, free: 2.477 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/1.208, allocations: 123.8 kB / 1.579 GB, free: 2.355 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/1.208, allocations: 12 kB / 1.579 GB, free: 2.344 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/1.208, allocations: 16.12 kB / 1.579 GB, free: 2.328 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.8e-05/1.208, allocations: 19.98 kB / 1.579 GB, free: 2.309 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.208, allocations: 11.94 kB / 1.579 GB, free: 2.297 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/1.211, allocations: 1.356 MB / 1.581 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/1.211, allocations: 340 kB / 1.581 GB, free: 488 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/1.212, allocations: 20 kB / 1.581 GB, free: 468 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.213, allocations: 103.9 kB / 1.581 GB, free: 364 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.213, allocations: 63.7 kB / 1.581 GB, free: 300 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/1.213, allocations: 35.97 kB / 1.581 GB, free: 264 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001691/1.215, allocations: 0.8522 MB / 1.582 GB, free: 15.39 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.51e-07/1.215, allocations: 0 / 1.582 GB, free: 15.39 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001331/1.216, allocations: 303.6 kB / 1.582 GB, free: 15.1 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.003371/1.219, allocations: 2.113 MB / 1.584 GB, free: 12.88 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.222, allocations: 0.9781 MB / 1.585 GB, free: 11.88 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.222, allocations: 0 / 1.585 GB, free: 11.88 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.223, allocations: 480.8 kB / 1.586 GB, free: 11.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/1.226, allocations: 0.5503 MB / 1.586 GB, free: 10.86 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.243, allocations: 9.414 MB / 1.595 GB, free: 1.039 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/1.243, allocations: 1.069 MB / 1.597 GB, free: 15.94 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009784/1.244, allocations: 272.1 kB / 1.597 GB, free: 15.68 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000558/1.245, allocations: 363.2 kB / 1.597 GB, free: 15.32 MB / 1.279 GB Notification: Performance of SimCode: time 6.62e-07/1.245, allocations: 4 kB / 1.597 GB, free: 15.32 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06115/1.306, allocations: 31.91 MB / 1.628 GB, free: 15.79 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11.36, allocations: 15.91 kB / 1.628 GB, free: 15.78 MB / 1.311 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.737039976986125] Failed to read output from testmodel.py, exit status != 0: 11.516213955008425 11.539465017 10.381221597 Calling exit ...