Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 104.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 188.9 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7191/0.7191, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3175, allocations: 77.93 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.1817/0.4993, allocations: 169.4 MB / 0.7328 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009793/0.5091, allocations: 7.306 MB / 0.7399 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.5098, allocations: 11.88 kB / 0.7399 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.5107, allocations: 206.6 kB / 0.7401 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.5124, allocations: 0.5716 MB / 0.7407 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.5137, allocations: 436.6 kB / 0.7411 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.5147, allocations: 0.705 MB / 0.7418 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.5152, allocations: 275 kB / 0.742 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.5161, allocations: 378.5 kB / 0.7424 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.5165, allocations: 223 kB / 0.7426 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.5166, allocations: 20 kB / 0.7426 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.518, allocations: 0.6899 MB / 0.7433 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.5181, allocations: 107.6 kB / 0.7434 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.5184, allocations: 155.2 kB / 0.7435 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.5195, allocations: 0.5609 MB / 0.7441 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5195, allocations: 0 / 0.7441 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5195, allocations: 4 kB / 0.7441 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.5196, allocations: 3.938 kB / 0.7441 GB, free: 5.16 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009557/0.5205, allocations: 0.6349 MB / 0.7447 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5206, allocations: 12.62 kB / 0.7447 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.616e-05/0.5206, allocations: 62.47 kB / 0.7448 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.521, allocations: 67.48 kB / 0.7449 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.5214, allocations: 302.2 kB / 0.7451 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.5214, allocations: 24.38 kB / 0.7452 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.5215, allocations: 24 kB / 0.7452 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.522, allocations: 296.6 kB / 0.7455 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.522, allocations: 7.875 kB / 0.7455 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.522, allocations: 8 kB / 0.7455 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.522, allocations: 11.94 kB / 0.7455 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.5224, allocations: 179.5 kB / 0.7457 GB, free: 3.418 MB / 0.5762 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.001709/0.5242, allocations: 1.698 MB / 0.7473 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.5244, allocations: 90.5 kB / 0.7474 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.5246, allocations: 84.08 kB / 0.7475 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.5249, allocations: 190.2 kB / 0.7477 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5249, allocations: 34.56 kB / 0.7477 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.5249, allocations: 0 / 0.7477 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006912/0.5256, allocations: 225.1 kB / 0.7479 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5256, allocations: 55.41 kB / 0.748 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.526, allocations: 316.5 kB / 0.7483 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.526, allocations: 33.7 kB / 0.7483 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.5261, allocations: 199.8 kB / 0.7485 GB, free: 312 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.5262, allocations: 39.45 kB / 0.7485 GB, free: 272 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.5262, allocations: 45.62 kB / 0.7486 GB, free: 220 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2537/0.78, allocations: 342.8 kB / 0.7489 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.7802, allocations: 58.47 kB / 0.749 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.7805, allocations: 189.8 kB / 0.7491 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.7809, allocations: 242.6 kB / 0.7494 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7809, allocations: 1.75 kB / 0.7494 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005516/0.7814, allocations: 253.2 kB / 0.7496 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.7815, allocations: 7.125 kB / 0.7496 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7815, allocations: 3.281 kB / 0.7496 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.7815, allocations: 6.031 kB / 0.7496 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.7817, allocations: 53.12 kB / 0.7497 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.7817, allocations: 9.141 kB / 0.7497 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.782, allocations: 34.34 kB / 0.7497 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.782, allocations: 14.89 kB / 0.7497 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002313/0.7823, allocations: 171.1 kB / 0.7499 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000207/0.7825, allocations: 194.3 kB / 0.7501 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003175/0.7828, allocations: 227.9 kB / 0.7503 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.7828, allocations: 2.469 kB / 0.7503 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004441/0.7833, allocations: 250.3 kB / 0.7505 GB, free: 173 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.7833, allocations: 6.594 kB / 0.7506 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7833, allocations: 4.031 kB / 0.7506 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.7833, allocations: 6.766 kB / 0.7506 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.7835, allocations: 50.14 kB / 0.7506 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.7835, allocations: 11.22 kB / 0.7506 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.7837, allocations: 27.47 kB / 0.7506 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.7838, allocations: 15.5 kB / 0.7507 GB, free: 173 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 6.747e-05/0.7838, allocations: 196.6 kB / 0.7509 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.7839, allocations: 39.52 kB / 0.7509 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.7843, allocations: 161.6 kB / 0.751 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.7843, allocations: 2.125 kB / 0.751 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7843, allocations: 4.438 kB / 0.751 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7843, allocations: 2.328 kB / 0.7511 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.7851, allocations: 0.6055 MB / 0.7516 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.7851, allocations: 9.375 kB / 0.7517 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.7853, allocations: 24.89 kB / 0.7517 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7853, allocations: 6.766 kB / 0.7517 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.7853, allocations: 6.594 kB / 0.7517 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.7853, allocations: 3.578 kB / 0.7517 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7853, allocations: 3.375 kB / 0.7517 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.7857, allocations: 301 kB / 0.752 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.7858, allocations: 113.4 kB / 0.7521 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.7858, allocations: 8.328 kB / 0.7521 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.786, allocations: 12.33 kB / 0.7521 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.786, allocations: 20.56 kB / 0.7521 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.7861, allocations: 7.078 kB / 0.7521 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002078/0.7863, allocations: 225.7 kB / 0.7524 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7863, allocations: 0.9062 kB / 0.7524 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005703/0.7868, allocations: 131 kB / 0.7525 GB, free: 171.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007587/0.7876, allocations: 0.8904 MB / 0.7533 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006019/0.7882, allocations: 255.1 kB / 0.7536 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7882, allocations: 0 / 0.7536 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.7884, allocations: 67.22 kB / 0.7537 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/0.7892, allocations: 129.9 kB / 0.7538 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.7922, allocations: 2.818 MB / 0.7565 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.7925, allocations: 0.7765 MB / 0.7573 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003117/0.7928, allocations: 90.28 kB / 0.7574 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.7929, allocations: 88.72 kB / 0.7575 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.7929, allocations: 3.938 kB / 0.7575 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.8164, allocations: 7.819 MB / 0.7651 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/8.105, allocations: 13.81 kB / 0.7651 GB, free: 165.9 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)