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.001257/0.001257, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001551/0.001551, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.04/3.04, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.001888/0.001888, allocations: 65 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.204/0.5113, allocations: 171.8 MB / 1.513 GB, free: 3.516 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.5218, allocations: 6.548 MB / 1.519 GB, free: 12.96 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.5231, allocations: 67.38 kB / 1.52 GB, free: 12.89 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.5248, allocations: 0.6948 MB / 1.52 GB, free: 12.19 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.5306, allocations: 2.408 MB / 1.523 GB, free: 9.773 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.5339, allocations: 1.483 MB / 1.524 GB, free: 8.309 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004163/0.5381, allocations: 3.031 MB / 1.527 GB, free: 5.27 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.5394, allocations: 0.7166 MB / 1.528 GB, free: 4.531 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003818/0.5432, allocations: 1.636 MB / 1.529 GB, free: 2.895 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.5447, allocations: 0.832 MB / 1.53 GB, free: 2.066 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.5449, allocations: 100 kB / 1.53 GB, free: 1.969 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.5484, allocations: 1.691 MB / 1.532 GB, free: 280 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004846/0.5489, allocations: 382.7 kB / 1.532 GB, free: 15.9 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006488/0.5495, allocations: 477.7 kB / 1.533 GB, free: 15.43 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.5533, allocations: 2.34 MB / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5533, allocations: 0 / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5533, allocations: 0 / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.5533, allocations: 3.938 kB / 1.535 GB, free: 13.08 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.003591/0.5569, allocations: 1.606 MB / 1.537 GB, free: 11.43 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.557, allocations: 8.031 kB / 1.537 GB, free: 11.42 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.856e-05/0.557, allocations: 17.31 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.5571, allocations: 110.5 kB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/0.5601, allocations: 0.5416 MB / 1.537 GB, free: 10.75 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.5625, allocations: 0.9742 MB / 1.538 GB, free: 9.746 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.5626, allocations: 53.31 kB / 1.538 GB, free: 9.695 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.5627, allocations: 68 kB / 1.538 GB, free: 9.629 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.5652, allocations: 1.238 MB / 1.539 GB, free: 8.332 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5653, allocations: 4 kB / 1.539 GB, free: 8.328 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.5653, allocations: 27.98 kB / 1.539 GB, free: 8.301 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.5654, allocations: 37.3 kB / 1.54 GB, free: 8.262 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.5684, allocations: 1.193 MB / 1.541 GB, free: 7.059 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.005619/0.5741, allocations: 2.875 MB / 1.543 GB, free: 4.113 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.5758, allocations: 0.6779 MB / 1.544 GB, free: 3.422 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/0.5766, allocations: 427.8 kB / 1.545 GB, free: 2.996 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/0.5771, allocations: 124.3 kB / 1.545 GB, free: 2.875 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.5782, allocations: 0.6433 MB / 1.545 GB, free: 2.176 MB / 1.232 GB Notification: Performance of pre-optimization done (n=57): time 2.775e-06/0.5782, allocations: 4 kB / 1.545 GB, free: 2.172 MB / 1.232 GB Notification: Performance of matching and sorting (n=57): time 0.003078/0.5813, allocations: 1.291 MB / 1.547 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5814, allocations: 140.8 kB / 1.547 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.5834, allocations: 1.176 MB / 1.548 GB, free: 15.5 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.5835, allocations: 41.7 kB / 1.548 GB, free: 15.45 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.5839, allocations: 445.8 kB / 1.548 GB, free: 15.01 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.5841, allocations: 202.2 kB / 1.548 GB, free: 14.81 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.5844, allocations: 142.2 kB / 1.549 GB, free: 14.67 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5845, allocations: 334 kB / 1.549 GB, free: 14.34 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.5858, allocations: 470.7 kB / 1.549 GB, free: 13.87 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.5873, allocations: 0.9823 MB / 1.55 GB, free: 12.75 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.5894, allocations: 0.9254 MB / 1.551 GB, free: 11.77 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5894, allocations: 4 kB / 1.551 GB, free: 11.76 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003033/0.5924, allocations: 1.238 MB / 1.552 GB, free: 10.5 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.5924, allocations: 37.7 kB / 1.553 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.5925, allocations: 96 / 1.553 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5925, allocations: 11.98 kB / 1.553 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.5934, allocations: 195.9 kB / 1.553 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.5934, allocations: 11.92 kB / 1.553 GB, free: 10.24 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.5948, allocations: 247.1 kB / 1.553 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.5949, allocations: 35.97 kB / 1.553 GB, free: 9.965 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.0004946/0.5954, allocations: 328.2 kB / 1.553 GB, free: 9.629 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.5956, allocations: 127.2 kB / 1.553 GB, free: 9.504 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.5978, allocations: 1.03 MB / 1.554 GB, free: 8.457 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.5978, allocations: 11.94 kB / 1.554 GB, free: 8.445 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5978, allocations: 0 / 1.554 GB, free: 8.445 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.5978, allocations: 3.984 kB / 1.554 GB, free: 8.441 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.6027, allocations: 3.007 MB / 1.557 GB, free: 5.281 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/0.6027, allocations: 8.594 kB / 1.557 GB, free: 5.273 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.6033, allocations: 123.8 kB / 1.558 GB, free: 5.152 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.6033, allocations: 8 kB / 1.558 GB, free: 5.145 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.6034, allocations: 31.92 kB / 1.558 GB, free: 5.113 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.6034, allocations: 8 kB / 1.558 GB, free: 5.105 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.6034, allocations: 11.94 kB / 1.558 GB, free: 5.094 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.6056, allocations: 1.391 MB / 1.559 GB, free: 3.582 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/0.6061, allocations: 258.9 kB / 1.559 GB, free: 3.328 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.6063, allocations: 20 kB / 1.559 GB, free: 3.309 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6074, allocations: 111.9 kB / 1.559 GB, free: 3.199 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6075, allocations: 59.69 kB / 1.559 GB, free: 3.141 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/0.6076, allocations: 39.97 kB / 1.559 GB, free: 3.102 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001473/0.6091, allocations: 0.8482 MB / 1.56 GB, free: 2.246 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6091, allocations: 0 / 1.56 GB, free: 2.246 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001013/0.6101, allocations: 299.6 kB / 1.561 GB, free: 1.953 MB / 1.248 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.003055/0.6132, allocations: 2.17 MB / 1.563 GB, free: 15.66 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.6156, allocations: 1.032 MB / 1.564 GB, free: 14.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6156, allocations: 0 / 1.564 GB, free: 14.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.6165, allocations: 0.5147 MB / 1.564 GB, free: 14.07 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.6191, allocations: 0.5469 MB / 1.565 GB, free: 13.53 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.6356, allocations: 9.593 MB / 1.574 GB, free: 3.508 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.6362, allocations: 478.6 kB / 1.574 GB, free: 3.008 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00111/0.6373, allocations: 278 kB / 1.575 GB, free: 2.738 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.6378, allocations: 359.3 kB / 1.575 GB, free: 2.387 MB / 1.264 GB Notification: Performance of SimCode: time 1.052e-06/0.6379, allocations: 0 / 1.575 GB, free: 2.387 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06367/0.7015, allocations: 34.15 MB / 1.608 GB, free: 0.7891 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.91, allocations: 4.062 kB / 1.608 GB, free: 0.7852 MB / 1.295 GB " [Timeout remaining time 285] (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: 20.851252287975512] Failed to read output from testmodel.py, exit status != 0: 14.629904678906314 14.644483321 14.088724333 Calling exit ...