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.0008222/0.0008222, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007693/0.0007693, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8701/0.8701, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001455/0.001455, allocations: 230.5 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.64/0.64, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.016e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3643/0.3643, allocations: 171.7 MB / 0.8139 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007461/0.3718, allocations: 6.577 MB / 0.8203 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.373, allocations: 59.44 kB / 0.8204 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.3745, allocations: 0.7061 MB / 0.8211 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.3786, allocations: 2.476 MB / 0.8235 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.381, allocations: 1.51 MB / 0.825 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.3841, allocations: 3.016 MB / 0.8279 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.3852, allocations: 0.701 MB / 0.8286 GB, free: 280 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.3875, allocations: 1.501 MB / 0.8301 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009518/0.3885, allocations: 0.7307 MB / 0.8308 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.3886, allocations: 100 kB / 0.8309 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.391, allocations: 1.706 MB / 0.8326 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.3913, allocations: 398.6 kB / 0.8329 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.3917, allocations: 399 kB / 0.8333 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.3947, allocations: 2.446 MB / 0.8357 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3947, allocations: 4 kB / 0.8357 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3947, allocations: 0 / 0.8357 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.348e-05/0.3947, allocations: 0 / 0.8357 GB, free: 9.008 MB / 0.6667 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.002377/0.3971, allocations: 1.586 MB / 0.8373 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3971, allocations: 13.94 kB / 0.8373 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.737e-05/0.3972, allocations: 110.5 kB / 0.8374 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.3987, allocations: 0.5416 MB / 0.8379 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.4003, allocations: 0.9724 MB / 0.8389 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.4003, allocations: 57.31 kB / 0.8389 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.4004, allocations: 64 kB / 0.839 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.4019, allocations: 1.237 MB / 0.8402 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4019, allocations: 3.938 kB / 0.8402 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.402, allocations: 37.42 kB / 0.8402 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.402, allocations: 29.25 kB / 0.8402 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.4037, allocations: 1.197 MB / 0.8414 GB, free: 3.027 MB / 0.6667 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.003567/0.4072, allocations: 2.866 MB / 0.8442 GB, free: 96 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4082, allocations: 0.6821 MB / 0.8449 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.4087, allocations: 433.6 kB / 0.8453 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.409, allocations: 132.4 kB / 0.8454 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006573/0.4096, allocations: 0.6437 MB / 0.846 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 2.936e-06/0.4096, allocations: 0 / 0.846 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.00186/0.4115, allocations: 1.289 MB / 0.8473 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.4116, allocations: 144.8 kB / 0.8474 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.4129, allocations: 1.18 MB / 0.8486 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.413, allocations: 41.64 kB / 0.8486 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.4134, allocations: 455.1 kB / 0.8491 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.4135, allocations: 190.4 kB / 0.8493 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.4137, allocations: 142.2 kB / 0.8494 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.4138, allocations: 333.9 kB / 0.8497 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/0.4145, allocations: 470.7 kB / 0.8502 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.4153, allocations: 0.9823 MB / 0.8511 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.4164, allocations: 0.9302 MB / 0.852 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4164, allocations: 0 / 0.852 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001751/0.4182, allocations: 1.246 MB / 0.8532 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.4182, allocations: 35.89 kB / 0.8533 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4182, allocations: 4 kB / 0.8533 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4182, allocations: 4 kB / 0.8533 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.4187, allocations: 191.8 kB / 0.8535 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4187, allocations: 8 kB / 0.8535 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.4195, allocations: 247.1 kB / 0.8537 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.4196, allocations: 39.91 kB / 0.8537 GB, free: 5.945 MB / 0.6823 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.0004547/0.42, allocations: 328.8 kB / 0.8541 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.4202, allocations: 126.7 kB / 0.8542 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.4214, allocations: 1.035 MB / 0.8552 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4214, allocations: 8 kB / 0.8552 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.4215, allocations: 0 / 0.8552 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4215, allocations: 4.031 kB / 0.8552 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.4247, allocations: 3.021 MB / 0.8582 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4247, allocations: 11.94 kB / 0.8582 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.425, allocations: 116 kB / 0.8583 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.425, allocations: 16 kB / 0.8583 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.425, allocations: 23.98 kB / 0.8583 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.425, allocations: 15.94 kB / 0.8583 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.4251, allocations: 11.94 kB / 0.8583 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.4264, allocations: 1.376 MB / 0.8597 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.4269, allocations: 255 kB / 0.8599 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.4269, allocations: 24 kB / 0.8599 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.4275, allocations: 99.89 kB / 0.86 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.4276, allocations: 63.75 kB / 0.8601 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.4276, allocations: 39.97 kB / 0.8601 GB, free: 15.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008966/0.4285, allocations: 0.8443 MB / 0.861 GB, free: 14.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.4285, allocations: 0 / 0.861 GB, free: 14.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007587/0.4293, allocations: 303.6 kB / 0.8613 GB, free: 13.95 MB / 0.698 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.002128/0.4314, allocations: 2.156 MB / 0.8634 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.4328, allocations: 1.037 MB / 0.8644 GB, free: 10.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.4328, allocations: 0 / 0.8644 GB, free: 10.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/0.4334, allocations: 0.5141 MB / 0.8649 GB, free: 10.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.435, allocations: 0.5511 MB / 0.8654 GB, free: 9.574 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.4459, allocations: 9.599 MB / 0.8748 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4462, allocations: 482.6 kB / 0.8752 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007259/0.447, allocations: 275.5 kB / 0.8755 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.4473, allocations: 364.4 kB / 0.8759 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.694e-06/0.4473, allocations: 0 / 0.8759 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.4911, allocations: 34.54 MB / 0.9096 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.732, allocations: 11.27 kB / 0.9096 GB, free: 12.5 MB / 0.7448 GB " [Timeout remaining time 652] (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: 10.347061113454401] Failed to read output from testmodel.py, exit status != 0: 7.827566046267748 7.840099115 7.443431271 Calling exit ...