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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.723/0.723, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 188.7 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 404.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 93.53 kB / 481.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.646e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1576, allocations: 76.76 MB / 0.6283 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.046/5.203, allocations: 2.14 GB / 2.768 GB, free: 189.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/5.204, allocations: 95.94 kB / 2.768 GB, free: 189.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.066/6.27, allocations: 340.6 MB / 3.101 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/6.27, allocations: 4 kB / 3.101 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.225e-05/6.27, allocations: 12 kB / 3.101 GB, free: 104.9 MB / 0.6511 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.001216/6.271, allocations: 0.6586 MB / 3.101 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/6.271, allocations: 15.97 kB / 3.101 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/6.271, allocations: 50.55 kB / 3.101 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/6.272, allocations: 59.58 kB / 3.101 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/6.272, allocations: 329.8 kB / 3.102 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/6.272, allocations: 16.44 kB / 3.102 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/6.272, allocations: 20 kB / 3.102 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/6.273, allocations: 294.9 kB / 3.102 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/6.273, allocations: 7.922 kB / 3.102 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/6.273, allocations: 12 kB / 3.102 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/6.273, allocations: 4 kB / 3.102 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/6.273, allocations: 163.8 kB / 3.102 GB, free: 103.2 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.00136/6.275, allocations: 1.538 MB / 3.104 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/6.275, allocations: 118.6 kB / 3.104 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/6.275, allocations: 64.88 kB / 3.104 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/6.275, allocations: 190.2 kB / 3.104 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/6.275, allocations: 38.73 kB / 3.104 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/6.275, allocations: 3.938 kB / 3.104 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0007179/6.276, allocations: 193.2 kB / 3.104 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/6.276, allocations: 51.41 kB / 3.104 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/6.276, allocations: 270.7 kB / 3.105 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/6.276, allocations: 29.7 kB / 3.105 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/6.276, allocations: 199.5 kB / 3.105 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/6.276, allocations: 31.55 kB / 3.105 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/6.277, allocations: 4 kB / 3.105 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/6.277, allocations: 342.8 kB / 3.105 GB, free: 99.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/6.277, allocations: 44.36 kB / 3.105 GB, free: 99.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/6.277, allocations: 174.1 kB / 3.105 GB, free: 99.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/6.277, allocations: 67.89 kB / 3.105 GB, free: 99.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/6.277, allocations: 0 / 3.105 GB, free: 99.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002801/6.277, allocations: 229.3 kB / 3.106 GB, free: 99.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/6.277, allocations: 1.311 MB / 3.107 GB, free: 97.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/6.277, allocations: 4 kB / 3.107 GB, free: 97.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/6.278, allocations: 4 kB / 3.107 GB, free: 97.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/6.278, allocations: 51.91 kB / 3.107 GB, free: 97.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/6.278, allocations: 4 kB / 3.107 GB, free: 97.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/6.278, allocations: 55.66 kB / 3.107 GB, free: 97.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/6.278, allocations: 12 kB / 3.107 GB, free: 97.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/6.278, allocations: 4 kB / 3.107 GB, free: 97.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001969/6.278, allocations: 160 kB / 3.107 GB, free: 97.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/6.278, allocations: 8.031 kB / 3.107 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/6.278, allocations: 4 kB / 3.107 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/6.278, allocations: 48 kB / 3.107 GB, free: 97.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/6.278, allocations: 15.88 kB / 3.107 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/6.279, allocations: 35.73 kB / 3.107 GB, free: 97.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/6.279, allocations: 8 kB / 3.107 GB, free: 97.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 7.081e-05/6.279, allocations: 132.8 kB / 3.107 GB, free: 97.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/6.279, allocations: 23.72 kB / 3.107 GB, free: 97.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/6.279, allocations: 38.67 kB / 3.107 GB, free: 97.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/6.279, allocations: 64 / 3.107 GB, free: 97.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/6.279, allocations: 4 kB / 3.107 GB, free: 97.33 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/6.279, allocations: 4.281 kB / 3.107 GB, free: 97.33 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/6.28, allocations: 0.5734 MB / 3.108 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/6.28, allocations: 0 / 3.108 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/6.28, allocations: 31.97 kB / 3.108 GB, free: 96.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/6.28, allocations: 4 kB / 3.108 GB, free: 96.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/6.28, allocations: 8.141 kB / 3.108 GB, free: 96.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/6.28, allocations: 4 kB / 3.108 GB, free: 96.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/6.28, allocations: 4 kB / 3.108 GB, free: 96.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/6.28, allocations: 346.4 kB / 3.108 GB, free: 96.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/6.28, allocations: 100.8 kB / 3.109 GB, free: 96.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/6.28, allocations: 4 kB / 3.109 GB, free: 96.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/6.28, allocations: 31.92 kB / 3.109 GB, free: 96.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/6.28, allocations: 11.98 kB / 3.109 GB, free: 96.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/6.28, allocations: 4 kB / 3.109 GB, free: 96.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001626/6.281, allocations: 210.2 kB / 3.109 GB, free: 95.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/6.281, allocations: 4 kB / 3.109 GB, free: 95.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009086/6.282, allocations: 243.8 kB / 3.109 GB, free: 95.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002059/6.284, allocations: 2.461 MB / 3.111 GB, free: 93.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003504/6.284, allocations: 213.6 kB / 3.112 GB, free: 92.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/6.284, allocations: 0 / 3.112 GB, free: 92.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/6.284, allocations: 53.36 kB / 3.112 GB, free: 92.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/6.285, allocations: 140.3 kB / 3.112 GB, free: 92.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/6.286, allocations: 430.9 kB / 3.112 GB, free: 92.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/6.286, allocations: 0.7843 MB / 3.113 GB, free: 91.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003307/6.286, allocations: 107.5 kB / 3.113 GB, free: 91.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/6.286, allocations: 83.41 kB / 3.113 GB, free: 91.18 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/6.286, allocations: 0 / 3.113 GB, free: 91.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/6.335, allocations: 30.83 MB / 3.143 GB, free: 60.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/6.335, allocations: 187.9 kB / 3.143 GB, free: 60.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/9.386, allocations: 3.938 kB / 3.143 GB, free: 60.21 MB / 0.6511 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)