Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001245/0.001245, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00143/0.00143, allocations: 216.9 kB / 22.25 MB, free: 4.852 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0025/0.0025, allocations: 291.3 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.22/1.22, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003091/0.003091, allocations: 106.6 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1841, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6507/0.8348, allocations: 171.9 MB / 1 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.8456, allocations: 6.568 MB / 1.007 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.8473, allocations: 64.66 kB / 1.007 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.8492, allocations: 0.6845 MB / 1.008 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006715/0.8559, allocations: 2.424 MB / 1.01 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.8595, allocations: 1.456 MB / 1.011 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004305/0.8638, allocations: 3.023 MB / 1.014 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.8651, allocations: 0.7001 MB / 1.015 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.868, allocations: 1.179 MB / 1.016 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.8693, allocations: 0.8216 MB / 1.017 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.8694, allocations: 100.6 kB / 1.017 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.8729, allocations: 1.691 MB / 1.019 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.8733, allocations: 372.7 kB / 1.019 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.8738, allocations: 482.6 kB / 1.02 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.8772, allocations: 2.342 MB / 1.022 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8772, allocations: 0 / 1.022 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8772, allocations: 0.9375 kB / 1.022 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.8772, allocations: 0 / 1.022 GB, free: 3.168 MB / 0.7169 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.003177/0.8804, allocations: 1.594 MB / 1.023 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.8804, allocations: 10.56 kB / 1.023 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.8806, allocations: 115.9 kB / 1.024 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/0.8832, allocations: 0.5379 MB / 1.024 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.8853, allocations: 0.9701 MB / 1.025 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.8854, allocations: 58.86 kB / 1.025 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.8855, allocations: 66.97 kB / 1.025 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.8876, allocations: 1.245 MB / 1.026 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.8877, allocations: 0 / 1.026 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.8877, allocations: 25.34 kB / 1.026 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.8878, allocations: 30.81 kB / 1.026 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.8905, allocations: 1.2 MB / 1.028 GB, free: 17.64 MB / 0.7325 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.005137/0.8956, allocations: 2.881 MB / 1.03 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.8971, allocations: 0.6827 MB / 1.031 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.8978, allocations: 425.3 kB / 1.031 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.8982, allocations: 124.5 kB / 1.032 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.8993, allocations: 0.6447 MB / 1.032 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.946e-06/0.8993, allocations: 0 / 1.032 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.00299/0.9023, allocations: 1.294 MB / 1.033 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.9024, allocations: 141.5 kB / 1.034 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.9041, allocations: 1.182 MB / 1.035 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/0.9042, allocations: 42.27 kB / 1.035 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.9045, allocations: 438.8 kB / 1.035 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.9047, allocations: 204.8 kB / 1.035 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.9049, allocations: 144 kB / 1.036 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9051, allocations: 330.1 kB / 1.036 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.9062, allocations: 474.6 kB / 1.036 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.9076, allocations: 0.9764 MB / 1.037 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.9095, allocations: 0.937 MB / 1.038 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9095, allocations: 0 / 1.038 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00289/0.9123, allocations: 1.244 MB / 1.039 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.9124, allocations: 40.38 kB / 1.039 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9124, allocations: 5.469 kB / 1.039 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9124, allocations: 8.312 kB / 1.039 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.9133, allocations: 191.7 kB / 1.04 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.9133, allocations: 5.938 kB / 1.04 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.9147, allocations: 243.3 kB / 1.04 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.9148, allocations: 38.02 kB / 1.04 GB, free: 14.15 MB / 0.7325 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.0005094/0.9153, allocations: 333.2 kB / 1.04 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.9155, allocations: 126.7 kB / 1.04 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.9174, allocations: 1.027 MB / 1.041 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.9174, allocations: 14.58 kB / 1.041 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9174, allocations: 4 kB / 1.041 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.9174, allocations: 6.953 kB / 1.041 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.9217, allocations: 2.999 MB / 1.044 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.9217, allocations: 11.69 kB / 1.044 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.9223, allocations: 124.1 kB / 1.044 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.9223, allocations: 8.531 kB / 1.044 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.9223, allocations: 24.92 kB / 1.044 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.9224, allocations: 17.08 kB / 1.044 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.9224, allocations: 15.66 kB / 1.044 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.9242, allocations: 1.38 MB / 1.046 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.9248, allocations: 265.5 kB / 1.046 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.925, allocations: 24.89 kB / 1.046 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.926, allocations: 103.3 kB / 1.046 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.9261, allocations: 61.53 kB / 1.046 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.9262, allocations: 37.47 kB / 1.046 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001369/0.9275, allocations: 0.8564 MB / 1.047 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9275, allocations: 2.906 kB / 1.047 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001051/0.9286, allocations: 296.8 kB / 1.047 GB, free: 11.8 MB / 0.7325 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.002866/0.9315, allocations: 2.156 MB / 1.05 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.9337, allocations: 1.036 MB / 1.051 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9337, allocations: 3 kB / 1.051 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.9346, allocations: 0.5097 MB / 1.051 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.9371, allocations: 0.5463 MB / 1.052 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.9526, allocations: 9.587 MB / 1.061 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.9532, allocations: 485.5 kB / 1.061 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001153/0.9543, allocations: 273.7 kB / 1.062 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.9549, allocations: 364.9 kB / 1.062 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.9549, allocations: 0 / 1.062 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07283/1.028, allocations: 34.56 MB / 1.096 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.82, allocations: 15.56 kB / 1.096 GB, free: 8.207 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.942984835710377] Failed to read output from testmodel.py, exit status != 0: 12.949189621955156 12.965122284 12.084635601 Calling exit ...