Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildSysPro_BuildSysPro_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.004899/0.004899, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001295/0.001295, allocations: 202 kB / 16.68 MB, free: 5.969 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.03/1.03, allocations: 143.3 MB / 433.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.91 kB / 0.5953 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4176, allocations: 82.02 MB / 0.6754 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure): time 0.2044/0.6221, allocations: 169.5 MB / 0.841 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.6333, allocations: 7.332 MB / 0.8481 GB, free: 4.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006671/0.634, allocations: 11.94 kB / 0.8481 GB, free: 4.656 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.6349, allocations: 218.6 kB / 0.8483 GB, free: 4.441 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.6372, allocations: 0.5716 MB / 0.8489 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.6388, allocations: 431.4 kB / 0.8493 GB, free: 3.449 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.6401, allocations: 0.7128 MB / 0.85 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.6407, allocations: 265.4 kB / 0.8503 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000879/0.6415, allocations: 378.5 kB / 0.8506 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.642, allocations: 219 kB / 0.8508 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.6421, allocations: 16 kB / 0.8508 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.6436, allocations: 0.7054 MB / 0.8515 GB, free: 1.172 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.6438, allocations: 107.7 kB / 0.8516 GB, free: 1.066 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.644, allocations: 155.2 kB / 0.8518 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.6453, allocations: 0.5874 MB / 0.8524 GB, free: 336 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6453, allocations: 0 / 0.8524 GB, free: 336 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6453, allocations: 4 kB / 0.8524 GB, free: 332 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.6453, allocations: 0 / 0.8524 GB, free: 332 kB / 0.67 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.001205/0.6465, allocations: 0.6614 MB / 0.853 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6466, allocations: 8.031 kB / 0.853 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/0.6466, allocations: 62.48 kB / 0.8531 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.647, allocations: 59.77 kB / 0.8531 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.6477, allocations: 326.3 kB / 0.8534 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.6477, allocations: 12.44 kB / 0.8535 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.6477, allocations: 24 kB / 0.8535 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.6483, allocations: 300.6 kB / 0.8538 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.6484, allocations: 11.88 kB / 0.8538 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.6484, allocations: 8 kB / 0.8538 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6484, allocations: 8 kB / 0.8538 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.6488, allocations: 179.5 kB / 0.854 GB, free: 14.54 MB / 0.6856 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.001983/0.6508, allocations: 1.699 MB / 0.8556 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.6511, allocations: 94.41 kB / 0.8557 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.6513, allocations: 80.83 kB / 0.8558 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.6517, allocations: 190.1 kB / 0.856 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.6517, allocations: 34.56 kB / 0.856 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.6517, allocations: 0 / 0.856 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0008093/0.6525, allocations: 221.4 kB / 0.8562 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.6526, allocations: 59.34 kB / 0.8563 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.653, allocations: 320.5 kB / 0.8566 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.653, allocations: 25.7 kB / 0.8566 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.6532, allocations: 216 kB / 0.8568 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.6533, allocations: 43.64 kB / 0.8569 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.6534, allocations: 45.72 kB / 0.8569 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.6535, allocations: 342.8 kB / 0.8572 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.6537, allocations: 56.81 kB / 0.8573 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.654, allocations: 191.6 kB / 0.8575 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.6545, allocations: 241.4 kB / 0.8577 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6545, allocations: 0 / 0.8577 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000561/0.6551, allocations: 257 kB / 0.8579 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6551, allocations: 9.875 kB / 0.8579 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6551, allocations: 4 kB / 0.8579 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.6551, allocations: 4 kB / 0.858 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.6554, allocations: 52.31 kB / 0.858 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.6554, allocations: 7.938 kB / 0.858 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.6557, allocations: 39.77 kB / 0.858 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.6557, allocations: 8 kB / 0.8581 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002718/0.656, allocations: 168.1 kB / 0.8582 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002939/0.6563, allocations: 199.2 kB / 0.8584 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004223/0.6567, allocations: 233.4 kB / 0.8586 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.449e-06/0.6567, allocations: 3.984 kB / 0.8586 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005425/0.6573, allocations: 257.2 kB / 0.8589 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.6573, allocations: 4 kB / 0.8589 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6573, allocations: 8 kB / 0.8589 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.6573, allocations: 4 kB / 0.8589 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.6575, allocations: 56.31 kB / 0.8589 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6575, allocations: 11.94 kB / 0.859 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.6578, allocations: 27.92 kB / 0.859 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.6578, allocations: 8 kB / 0.859 GB, free: 8.934 MB / 0.6856 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 0.0001527/0.658, allocations: 200.1 kB / 0.8592 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.658, allocations: 31.75 kB / 0.8592 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.6585, allocations: 172.3 kB / 0.8594 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.6585, allocations: 4 kB / 0.8594 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6585, allocations: 0 / 0.8594 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6585, allocations: 0 / 0.8594 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.6596, allocations: 0.6094 MB / 0.86 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6596, allocations: 3.938 kB / 0.86 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.6598, allocations: 27.98 kB / 0.86 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.6598, allocations: 4 kB / 0.86 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.6598, allocations: 0 / 0.86 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.6598, allocations: 4 kB / 0.86 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.6598, allocations: 8.156 kB / 0.86 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.6603, allocations: 305.7 kB / 0.8603 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.6604, allocations: 120.8 kB / 0.8604 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.6605, allocations: 4 kB / 0.8604 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.6607, allocations: 7.984 kB / 0.8604 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.6607, allocations: 23.86 kB / 0.8605 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.6607, allocations: 4 kB / 0.8605 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002635/0.661, allocations: 231 kB / 0.8607 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.661, allocations: 0 / 0.8607 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005981/0.6616, allocations: 127.8 kB / 0.8608 GB, free: 6.922 MB / 0.6856 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.001128/0.6628, allocations: 0.9026 MB / 0.8617 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006886/0.6635, allocations: 252.9 kB / 0.8619 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6635, allocations: 0 / 0.8619 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.6637, allocations: 68.08 kB / 0.862 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.6645, allocations: 123.8 kB / 0.8621 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.6684, allocations: 2.811 MB / 0.8649 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6688, allocations: 0.7756 MB / 0.8656 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002729/0.6691, allocations: 91.53 kB / 0.8657 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.6693, allocations: 87.41 kB / 0.8658 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of SimCode: time 4.8e-07/0.6693, allocations: 0 / 0.8658 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3404/1.01, allocations: 7.935 MB / 0.8735 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/9.155, allocations: 11.19 kB / 0.8735 GB, free: 187.4 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)