Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5099/0.5099, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 103.4 kB / 427.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 16 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1802, allocations: 72.31 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.342/6.523, allocations: 1.892 GB / 2.461 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/6.523, allocations: 94.84 kB / 2.461 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.274/10.8, allocations: 1.301 GB / 3.762 GB, free: 69.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.472e-06/10.8, allocations: 0 / 3.762 GB, free: 69.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001752/10.8, allocations: 43.98 kB / 3.762 GB, free: 69.41 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.005923/10.8, allocations: 2.064 MB / 3.764 GB, free: 67.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/10.8, allocations: 8.031 kB / 3.764 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006272/10.8, allocations: 205.1 kB / 3.764 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/10.81, allocations: 392.8 kB / 3.765 GB, free: 67.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/10.81, allocations: 1.159 MB / 3.766 GB, free: 66.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/10.81, allocations: 102.6 kB / 3.766 GB, free: 65.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/10.81, allocations: 128 kB / 3.766 GB, free: 65.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/10.81, allocations: 1.519 MB / 3.767 GB, free: 64.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/10.81, allocations: 3 kB / 3.767 GB, free: 64.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/10.81, allocations: 52 kB / 3.768 GB, free: 64.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/10.81, allocations: 58.44 kB / 3.768 GB, free: 64.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/10.81, allocations: 1.224 MB / 3.769 GB, free: 62.91 MB / 0.6355 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.007855/10.82, allocations: 6.549 MB / 3.775 GB, free: 55.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/10.82, allocations: 0.939 MB / 3.776 GB, free: 55.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006754/10.82, allocations: 409 kB / 3.776 GB, free: 54.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/10.82, allocations: 43.22 kB / 3.777 GB, free: 54.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 4.248e-06/10.82, allocations: 0 / 3.777 GB, free: 54.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.005626/10.83, allocations: 2.903 MB / 3.779 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/10.83, allocations: 60.41 kB / 3.779 GB, free: 51.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/10.83, allocations: 1.046 MB / 3.78 GB, free: 50.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/10.83, allocations: 45.7 kB / 3.78 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/10.83, allocations: 0.68 MB / 3.781 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/10.83, allocations: 299.7 kB / 3.781 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/10.83, allocations: 20 kB / 3.781 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/10.83, allocations: 345.9 kB / 3.782 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/10.83, allocations: 365.8 kB / 3.782 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/10.83, allocations: 0.7384 MB / 3.783 GB, free: 47.7 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/10.85, allocations: 2.32 MB / 3.785 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/10.85, allocations: 3.938 kB / 3.785 GB, free: 45.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001902/10.85, allocations: 1.292 MB / 3.786 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/10.85, allocations: 8 kB / 3.786 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/10.85, allocations: 8 kB / 3.786 GB, free: 44.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/10.85, allocations: 131.2 kB / 3.787 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/10.85, allocations: 203.7 kB / 3.787 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/10.85, allocations: 4.826 MB / 3.791 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/10.85, allocations: 123.7 kB / 3.792 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/10.85, allocations: 48 kB / 3.792 GB, free: 38.3 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008002/10.85, allocations: 421.4 kB / 3.792 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/10.85, allocations: 142.3 kB / 3.792 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/10.86, allocations: 1.084 MB / 3.793 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/10.86, allocations: 11.98 kB / 3.793 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/10.86, allocations: 0 / 3.793 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/10.86, allocations: 1.039 MB / 3.794 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/10.86, allocations: 3.066 MB / 3.797 GB, free: 32.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/10.86, allocations: 4 kB / 3.797 GB, free: 32.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/10.86, allocations: 160.5 kB / 3.797 GB, free: 32.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/10.86, allocations: 130.4 kB / 3.797 GB, free: 31.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/10.86, allocations: 24 kB / 3.798 GB, free: 31.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/10.87, allocations: 4.803 MB / 3.802 GB, free: 26.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/10.87, allocations: 15.89 kB / 3.802 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/10.87, allocations: 2.069 MB / 3.804 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008746/10.87, allocations: 323.2 kB / 3.805 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/10.87, allocations: 24 kB / 3.805 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/10.87, allocations: 79.73 kB / 3.805 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/10.87, allocations: 76.38 kB / 3.805 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/10.87, allocations: 35.98 kB / 3.805 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00108/10.87, allocations: 0.8382 MB / 3.806 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/10.87, allocations: 0 / 3.806 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002679/10.87, allocations: 0.6288 MB / 3.806 GB, free: 22.28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (75): * Single equations (assignments): 72 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005358/10.88, allocations: 6.511 MB / 3.813 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001873/10.88, allocations: 1.265 MB / 3.814 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/10.88, allocations: 0 / 3.814 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/10.88, allocations: 0.7822 MB / 3.815 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/10.89, allocations: 0.8365 MB / 3.815 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/10.9, allocations: 14.45 MB / 3.829 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/10.9, allocations: 1.386 MB / 3.831 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001579/10.9, allocations: 355.2 kB / 3.831 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008478/10.9, allocations: 0.5539 MB / 3.832 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/10.9, allocations: 0 / 3.832 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4577/11.36, allocations: 77.62 MB / 3.908 GB, free: 81.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/11.36, allocations: 225.2 kB / 3.908 GB, free: 81.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.014/16.38, allocations: 0 / 3.908 GB, free: 81.41 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)