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.001287/0.001287, allocations: 107.1 kB / 16.45 MB, free: 6.453 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.001528/0.001528, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 290 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.203/1.203, allocations: 180.9 MB / 0.5333 GB, free: 13.96 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002697/0.002697, allocations: 116.2 kB / 0.7343 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.164, allocations: 95.34 MB / 0.8274 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6233/0.7873, allocations: 197.7 MB / 1.02 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009388/0.7967, allocations: 6.96 MB / 1.027 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.7982, allocations: 65.59 kB / 1.027 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.7997, allocations: 0.7118 MB / 1.028 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.8051, allocations: 2.452 MB / 1.03 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.8082, allocations: 1.431 MB / 1.032 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003409/0.8116, allocations: 2.991 MB / 1.035 GB, free: 256 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.8126, allocations: 0.7444 MB / 1.035 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.8147, allocations: 1.168 MB / 1.037 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.8158, allocations: 0.8556 MB / 1.037 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.816, allocations: 98.72 kB / 1.037 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.8198, allocations: 2.175 MB / 1.04 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.8201, allocations: 374.5 kB / 1.04 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006486/0.8208, allocations: 0.5893 MB / 1.041 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003987/0.8248, allocations: 2.396 MB / 1.043 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.8248, allocations: 0 / 1.043 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.095e-06/0.8248, allocations: 2.344 kB / 1.043 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.8248, allocations: 0 / 1.043 GB, free: 15.38 MB / 0.7325 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.003545/0.8283, allocations: 1.672 MB / 1.045 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8284, allocations: 10.19 kB / 1.045 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.8285, allocations: 115.2 kB / 1.045 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.8314, allocations: 0.5347 MB / 1.045 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.8335, allocations: 1.049 MB / 1.046 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.8336, allocations: 54.38 kB / 1.046 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.8337, allocations: 67.28 kB / 1.046 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.8361, allocations: 1.101 MB / 1.047 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.8361, allocations: 11.88 kB / 1.047 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/0.8362, allocations: 28.91 kB / 1.047 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.8362, allocations: 32.86 kB / 1.047 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.8392, allocations: 1.157 MB / 1.049 GB, free: 12.8 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.005777/0.845, allocations: 3.172 MB / 1.052 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.8467, allocations: 0.6539 MB / 1.052 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.8475, allocations: 389.8 kB / 1.053 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009946/0.8485, allocations: 1.024 MB / 1.054 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.8495, allocations: 0.523 MB / 1.054 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/0.8495, allocations: 2.062 kB / 1.054 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.003003/0.8525, allocations: 1.227 MB / 1.055 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.8526, allocations: 145.1 kB / 1.056 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.8546, allocations: 1.177 MB / 1.057 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-05/0.8547, allocations: 38.55 kB / 1.057 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.8551, allocations: 443.1 kB / 1.057 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.8553, allocations: 205.5 kB / 1.057 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.8555, allocations: 145.4 kB / 1.057 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8557, allocations: 325.3 kB / 1.058 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.8569, allocations: 445.6 kB / 1.058 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.8583, allocations: 0.5942 MB / 1.059 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.8603, allocations: 0.9303 MB / 1.06 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.8603, allocations: 1.781 kB / 1.06 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0031/0.8634, allocations: 1.198 MB / 1.061 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.8635, allocations: 37.8 kB / 1.061 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8635, allocations: 9.25 kB / 1.061 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8635, allocations: 4.875 kB / 1.061 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/0.8644, allocations: 185.6 kB / 1.061 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.8644, allocations: 15.36 kB / 1.061 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.8659, allocations: 242.7 kB / 1.061 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.866, allocations: 37.19 kB / 1.061 GB, free: 3.965 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.0005607/0.8665, allocations: 335.6 kB / 1.062 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.8667, allocations: 121 kB / 1.062 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.8689, allocations: 0.9966 MB / 1.063 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.8689, allocations: 6.031 kB / 1.063 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.8689, allocations: 6.062 kB / 1.063 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.8689, allocations: 3.984 kB / 1.063 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/0.8736, allocations: 3.158 MB / 1.066 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.8736, allocations: 8.844 kB / 1.066 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.8742, allocations: 122.4 kB / 1.066 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.8742, allocations: 9.969 kB / 1.066 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.8743, allocations: 26.95 kB / 1.066 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/0.8743, allocations: 18.34 kB / 1.066 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.8743, allocations: 11.91 kB / 1.066 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.8764, allocations: 1.356 MB / 1.067 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.8769, allocations: 326.7 kB / 1.068 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.877, allocations: 24.14 kB / 1.068 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.8781, allocations: 105.2 kB / 1.068 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.8782, allocations: 65.34 kB / 1.068 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.8783, allocations: 37.25 kB / 1.068 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001426/0.8797, allocations: 0.8521 MB / 1.069 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8797, allocations: 0 / 1.069 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00105/0.8807, allocations: 299.8 kB / 1.069 GB, free: 14.91 MB / 0.7481 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.002973/0.8837, allocations: 2.126 MB / 1.071 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.8861, allocations: 0.972 MB / 1.072 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.8861, allocations: 0 / 1.072 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009/0.887, allocations: 486.9 kB / 1.073 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.8896, allocations: 0.5477 MB / 1.073 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.9062, allocations: 9.418 MB / 1.082 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.9069, allocations: 1.065 MB / 1.083 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00108/0.908, allocations: 273.9 kB / 1.084 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.9085, allocations: 363.3 kB / 1.084 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/0.9085, allocations: 0 / 1.084 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06669/0.9752, allocations: 31.9 MB / 1.115 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.984/10.96, allocations: 11 kB / 1.115 GB, free: 3.301 MB / 0.7794 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 15.075663059949875] Failed to read output from testmodel.py, exit status != 0: 11.044013580773026 11.058696997 10.230660436 Calling exit ...