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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.0007661/0.0007663, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0008034/0.0008036, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.016/1.016, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003926, allocations: 15.98 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 83.41 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure): time 0.4525/0.6197, allocations: 154 MB / 0.7479 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009521/0.6293, allocations: 6.785 MB / 0.7545 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.6297, allocations: 15.94 kB / 0.7546 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.6303, allocations: 143 kB / 0.7547 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.6315, allocations: 441.9 kB / 0.7551 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.6326, allocations: 351 kB / 0.7555 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000951/0.6335, allocations: 0.8766 MB / 0.7563 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.6339, allocations: 193.2 kB / 0.7565 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.6345, allocations: 314.7 kB / 0.7568 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.6348, allocations: 207.1 kB / 0.757 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.6348, allocations: 12 kB / 0.757 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009286/0.6358, allocations: 0.5262 MB / 0.7575 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.6359, allocations: 91.69 kB / 0.7576 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.636, allocations: 85.52 kB / 0.7577 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.6365, allocations: 415 kB / 0.7581 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6365, allocations: 0 / 0.7581 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6365, allocations: 0 / 0.7581 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.6365, allocations: 4 kB / 0.7581 GB, free: 7.734 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.0008895/0.6374, allocations: 0.5804 MB / 0.7587 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6374, allocations: 8.031 kB / 0.7587 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.655e-05/0.6375, allocations: 54.55 kB / 0.7587 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.6379, allocations: 59.59 kB / 0.7588 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.6383, allocations: 306.2 kB / 0.7591 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.6383, allocations: 20.44 kB / 0.7591 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.6383, allocations: 27.94 kB / 0.7591 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.6388, allocations: 308.6 kB / 0.7594 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6389, allocations: 0 / 0.7594 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.6389, allocations: 8 kB / 0.7594 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.6389, allocations: 8 kB / 0.7594 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.6393, allocations: 190.2 kB / 0.7596 GB, free: 6.059 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.001807/0.6411, allocations: 1.706 MB / 0.7613 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.6413, allocations: 94.56 kB / 0.7614 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.6415, allocations: 80.86 kB / 0.7614 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.6418, allocations: 190.2 kB / 0.7616 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6418, allocations: 38.5 kB / 0.7616 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.6418, allocations: 0 / 0.7616 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006568/0.6425, allocations: 241.8 kB / 0.7619 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.6426, allocations: 51.41 kB / 0.7619 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.643, allocations: 320.4 kB / 0.7622 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.6431, allocations: 29.7 kB / 0.7623 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.6433, allocations: 191.9 kB / 0.7624 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.6433, allocations: 47.38 kB / 0.7625 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.6433, allocations: 7.938 kB / 0.7625 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.6436, allocations: 338.8 kB / 0.7628 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6437, allocations: 55.95 kB / 0.7629 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.6439, allocations: 198.1 kB / 0.7631 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.6441, allocations: 91.89 kB / 0.7631 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6441, allocations: 0 / 0.7631 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004425/0.6446, allocations: 257 kB / 0.7634 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.6447, allocations: 198.2 kB / 0.7636 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6447, allocations: 0 / 0.7636 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6448, allocations: 8 kB / 0.7636 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.6449, allocations: 51.91 kB / 0.7636 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.645, allocations: 8 kB / 0.7636 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.6452, allocations: 43.72 kB / 0.7637 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.6452, allocations: 12.5 kB / 0.7637 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.393e-06/0.6453, allocations: 4 kB / 0.7637 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003704/0.6456, allocations: 211.7 kB / 0.7639 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.6457, allocations: 4 kB / 0.7639 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.6457, allocations: 4 kB / 0.7639 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.6458, allocations: 48.53 kB / 0.764 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6458, allocations: 12.31 kB / 0.764 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.6461, allocations: 47.62 kB / 0.764 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.6462, allocations: 15.98 kB / 0.764 GB, free: 1.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.6464, allocations: 229 kB / 0.7643 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.6464, allocations: 23.72 kB / 0.7643 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.6468, allocations: 181.1 kB / 0.7644 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6468, allocations: 0 / 0.7644 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6468, allocations: 0.875 kB / 0.7644 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6468, allocations: 3.953 kB / 0.7645 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.6478, allocations: 0.6211 MB / 0.7651 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6478, allocations: 7.953 kB / 0.7651 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.6479, allocations: 27.97 kB / 0.7651 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.648, allocations: 4 kB / 0.7651 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.648, allocations: 0.8125 kB / 0.7651 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.648, allocations: 4 kB / 0.7651 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.648, allocations: 4.625 kB / 0.7651 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.6484, allocations: 315.1 kB / 0.7654 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6485, allocations: 120.7 kB / 0.7655 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.6486, allocations: 3.938 kB / 0.7655 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.6487, allocations: 23.67 kB / 0.7655 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.6488, allocations: 11.98 kB / 0.7656 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6488, allocations: 8 kB / 0.7656 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003016/0.6491, allocations: 223 kB / 0.7658 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6491, allocations: 3.938 kB / 0.7658 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005883/0.6497, allocations: 135.7 kB / 0.7659 GB, free: 15.11 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.6507, allocations: 0.9155 MB / 0.7668 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.6513, allocations: 253.1 kB / 0.767 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6513, allocations: 64 / 0.767 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.6515, allocations: 75.83 kB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.6523, allocations: 130.3 kB / 0.7672 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.6548, allocations: 1.661 MB / 0.7689 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.6554, allocations: 0.7758 MB / 0.7696 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000274/0.6557, allocations: 92.02 kB / 0.7697 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.6558, allocations: 87.41 kB / 0.7698 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6558, allocations: 0 / 0.7698 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.676, allocations: 7.535 MB / 0.7772 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.6763, allocations: 227.1 kB / 0.7774 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.554, allocations: 0 / 0.7774 GB, free: 3.434 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: