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.001319/0.001319, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001644/0.001644, allocations: 212 kB / 20.13 MB, free: 2.949 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.893/2.893, allocations: 0.49 GB / 0.7923 GB, free: 1.402 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.002005/0.002005, allocations: 63.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8849, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2282/1.113, allocations: 197.8 MB / 1.515 GB, free: 3.473 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01167/1.125, allocations: 6.954 MB / 1.521 GB, free: 12.5 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/1.126, allocations: 63.38 kB / 1.521 GB, free: 12.44 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/1.128, allocations: 0.7103 MB / 1.522 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00597/1.134, allocations: 2.439 MB / 1.525 GB, free: 9.277 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/1.138, allocations: 1.426 MB / 1.526 GB, free: 7.871 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004535/1.142, allocations: 2.978 MB / 1.529 GB, free: 4.883 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/1.144, allocations: 0.7396 MB / 1.53 GB, free: 4.133 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/1.147, allocations: 1.61 MB / 1.531 GB, free: 2.523 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/1.149, allocations: 0.8301 MB / 1.532 GB, free: 1.695 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/1.149, allocations: 100 kB / 1.532 GB, free: 1.598 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/1.153, allocations: 2.14 MB / 1.534 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/1.153, allocations: 374.6 kB / 1.534 GB, free: 15.09 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007002/1.154, allocations: 0.5869 MB / 1.535 GB, free: 14.5 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00387/1.158, allocations: 2.398 MB / 1.537 GB, free: 12.09 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.158, allocations: 3.938 kB / 1.537 GB, free: 12.09 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.346e-06/1.158, allocations: 8 kB / 1.537 GB, free: 12.08 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.967e-05/1.158, allocations: 0 / 1.537 GB, free: 12.08 MB / 1.217 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.00359/1.161, allocations: 1.669 MB / 1.539 GB, free: 10.35 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.161, allocations: 11.98 kB / 1.539 GB, free: 10.34 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.576e-05/1.161, allocations: 17.31 kB / 1.539 GB, free: 10.32 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/1.161, allocations: 118.5 kB / 1.539 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/1.164, allocations: 0.5338 MB / 1.54 GB, free: 9.66 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/1.167, allocations: 1.052 MB / 1.541 GB, free: 8.562 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/1.167, allocations: 57.31 kB / 1.541 GB, free: 8.508 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/1.167, allocations: 72 kB / 1.541 GB, free: 8.438 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/1.169, allocations: 1.109 MB / 1.542 GB, free: 7.301 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/1.169, allocations: 0 / 1.542 GB, free: 7.301 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/1.17, allocations: 28 kB / 1.542 GB, free: 7.273 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/1.17, allocations: 29.31 kB / 1.542 GB, free: 7.246 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/1.173, allocations: 1.161 MB / 1.543 GB, free: 6.086 MB / 1.217 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.005766/1.178, allocations: 3.183 MB / 1.546 GB, free: 2.824 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/1.18, allocations: 0.6534 MB / 1.547 GB, free: 2.16 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/1.181, allocations: 390.1 kB / 1.547 GB, free: 1.777 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009453/1.182, allocations: 1.025 MB / 1.548 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/1.183, allocations: 0.5105 MB / 1.549 GB, free: 15.99 MB / 1.232 GB Notification: Performance of pre-optimization done (n=57): time 4.248e-06/1.183, allocations: 4 kB / 1.549 GB, free: 15.99 MB / 1.232 GB Notification: Performance of matching and sorting (n=57): time 0.003169/1.186, allocations: 1.221 MB / 1.55 GB, free: 14.76 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/1.186, allocations: 148.8 kB / 1.55 GB, free: 14.59 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/1.188, allocations: 1.184 MB / 1.551 GB, free: 13.39 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.189, allocations: 37.7 kB / 1.551 GB, free: 13.34 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/1.189, allocations: 441.8 kB / 1.552 GB, free: 12.91 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/1.189, allocations: 194.3 kB / 1.552 GB, free: 12.71 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/1.189, allocations: 150.1 kB / 1.552 GB, free: 12.56 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.19, allocations: 334 kB / 1.552 GB, free: 12.23 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/1.191, allocations: 436.9 kB / 1.553 GB, free: 11.8 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/1.192, allocations: 0.5938 MB / 1.553 GB, free: 11.16 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/1.195, allocations: 0.9266 MB / 1.554 GB, free: 10.18 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/1.195, allocations: 0 / 1.554 GB, free: 10.18 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003412/1.198, allocations: 1.206 MB / 1.555 GB, free: 8.961 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/1.198, allocations: 41.69 kB / 1.555 GB, free: 8.914 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.198, allocations: 4 kB / 1.555 GB, free: 8.91 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.198, allocations: 7.938 kB / 1.555 GB, free: 8.902 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/1.199, allocations: 188 kB / 1.556 GB, free: 8.719 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.199, allocations: 11.94 kB / 1.556 GB, free: 8.707 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.201, allocations: 243.1 kB / 1.556 GB, free: 8.469 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.201, allocations: 39.98 kB / 1.556 GB, free: 8.43 MB / 1.232 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.0005617/1.201, allocations: 329.3 kB / 1.556 GB, free: 8.094 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/1.202, allocations: 119.2 kB / 1.556 GB, free: 7.977 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/1.204, allocations: 0.9911 MB / 1.557 GB, free: 6.977 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.204, allocations: 11.94 kB / 1.557 GB, free: 6.965 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.204, allocations: 0 / 1.557 GB, free: 6.965 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/1.204, allocations: 3.984 kB / 1.557 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/1.209, allocations: 3.174 MB / 1.56 GB, free: 3.629 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.209, allocations: 8 kB / 1.56 GB, free: 3.621 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/1.21, allocations: 119.8 kB / 1.561 GB, free: 3.504 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/1.21, allocations: 8.188 kB / 1.561 GB, free: 3.496 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/1.21, allocations: 31.98 kB / 1.561 GB, free: 3.465 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/1.21, allocations: 19.92 kB / 1.561 GB, free: 3.445 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.21, allocations: 11.94 kB / 1.561 GB, free: 3.434 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/1.212, allocations: 1.346 MB / 1.562 GB, free: 1.969 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/1.213, allocations: 339.9 kB / 1.562 GB, free: 1.617 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.213, allocations: 20 kB / 1.562 GB, free: 1.598 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.214, allocations: 103.9 kB / 1.562 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.214, allocations: 55.77 kB / 1.562 GB, free: 1.441 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/1.215, allocations: 39.97 kB / 1.562 GB, free: 1.402 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001585/1.216, allocations: 0.8559 MB / 1.563 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/1.216, allocations: 3.938 kB / 1.563 GB, free: 0.5352 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001192/1.217, allocations: 303.6 kB / 1.564 GB, free: 244 kB / 1.232 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.003226/1.221, allocations: 2.122 MB / 1.566 GB, free: 14 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002482/1.223, allocations: 0.9742 MB / 1.567 GB, free: 13.01 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.223, allocations: 4 kB / 1.567 GB, free: 13 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009629/1.224, allocations: 480.8 kB / 1.567 GB, free: 12.52 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.227, allocations: 0.5512 MB / 1.568 GB, free: 11.98 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.244, allocations: 9.415 MB / 1.577 GB, free: 2.172 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/1.245, allocations: 1.069 MB / 1.578 GB, free: 1.07 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009985/1.246, allocations: 274.8 kB / 1.578 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/1.246, allocations: 359.3 kB / 1.578 GB, free: 460 kB / 1.248 GB Notification: Performance of SimCode: time 1.001e-06/1.246, allocations: 0 / 1.578 GB, free: 460 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06337/1.31, allocations: 31.91 MB / 1.61 GB, free: 0.9219 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.51, allocations: 5.625 kB / 1.61 GB, free: 0.918 MB / 1.279 GB " [Timeout remaining time 288] (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: 17.720113362011034] Failed to read output from testmodel.py, exit status != 0: 11.653344419028144 11.675420077 10.513398002 Calling exit ...