Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.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.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",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.7679/0.7679, allocations: 127.4 MB / 134.9 MB, free: 3.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 182.7 kB / 164.7 MB, free: 11.57 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.716/1.716, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008491/0.000849, allocations: 89.42 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.871e-05, allocations: 2.75 kB / 0.5467 GB, free: 95.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.164, allocations: 76.78 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.56/5.724, allocations: 2.17 GB / 2.791 GB, free: 184 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/5.724, allocations: 93.28 kB / 2.791 GB, free: 184 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.923/10.65, allocations: 1.263 GB / 4.054 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/10.65, allocations: 3.062 kB / 4.054 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00011/10.65, allocations: 43.98 kB / 4.054 GB, free: 84.27 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004231/10.65, allocations: 1.857 MB / 4.056 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/10.65, allocations: 9.219 kB / 4.056 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/10.65, allocations: 366.6 kB / 4.056 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/10.66, allocations: 1.206 MB / 4.057 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/10.66, allocations: 42.41 kB / 4.058 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/10.66, allocations: 85.28 kB / 4.058 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/10.66, allocations: 1.158 MB / 4.059 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/10.66, allocations: 1.365 MB / 4.06 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/10.66, allocations: 3.953 kB / 4.06 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/10.66, allocations: 3.562 kB / 4.06 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/10.66, allocations: 54.45 kB / 4.06 GB, free: 83.08 MB / 0.6823 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.007226/10.67, allocations: 6.391 MB / 4.066 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008675/10.67, allocations: 0.7074 MB / 4.067 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/10.67, allocations: 372 kB / 4.067 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002854/10.67, allocations: 1.856 MB / 4.069 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/10.67, allocations: 38.97 kB / 4.069 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 2.175e-06/10.67, allocations: 0 / 4.069 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.001822/10.67, allocations: 0.905 MB / 4.07 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/10.67, allocations: 57.72 kB / 4.07 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/10.67, allocations: 0.8087 MB / 4.071 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/10.67, allocations: 25.7 kB / 4.071 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/10.68, allocations: 0.785 MB / 4.072 GB, free: 78.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/10.68, allocations: 237.9 kB / 4.072 GB, free: 78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/10.68, allocations: 1.438 kB / 4.072 GB, free: 78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/10.68, allocations: 350.7 kB / 4.072 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/10.68, allocations: 323 kB / 4.073 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/10.68, allocations: 0.8529 MB / 4.073 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/10.68, allocations: 0.5499 MB / 4.074 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/10.68, allocations: 11.05 kB / 4.074 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001872/10.68, allocations: 1.329 MB / 4.075 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/10.68, allocations: 12.91 kB / 4.075 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/10.68, allocations: 17.53 kB / 4.075 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/10.68, allocations: 138.7 kB / 4.075 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/10.68, allocations: 239.3 kB / 4.076 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/10.68, allocations: 4.524 MB / 4.08 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/10.68, allocations: 176.9 kB / 4.08 GB, free: 72.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/10.69, allocations: 59.19 kB / 4.08 GB, free: 72.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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.0002199/10.69, allocations: 154.1 kB / 4.081 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001338/10.69, allocations: 0.8563 MB / 4.081 GB, free: 72.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/10.69, allocations: 122.5 kB / 4.081 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/10.69, allocations: 0.921 MB / 4.082 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/10.69, allocations: 6.875 kB / 4.082 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/10.69, allocations: 0 / 4.082 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/10.69, allocations: 0.9343 MB / 4.083 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/10.69, allocations: 2.122 MB / 4.085 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/10.69, allocations: 3.5 kB / 4.085 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/10.69, allocations: 117.4 kB / 4.085 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/10.69, allocations: 124.9 kB / 4.086 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/10.69, allocations: 14.8 kB / 4.086 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/10.7, allocations: 4.492 MB / 4.09 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/10.7, allocations: 11.3 kB / 4.09 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/10.7, allocations: 1.495 MB / 4.091 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/10.7, allocations: 289.9 kB / 4.092 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/10.7, allocations: 7.344 kB / 4.092 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/10.7, allocations: 65.33 kB / 4.092 GB, free: 67.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/10.7, allocations: 41.89 kB / 4.092 GB, free: 67.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/10.7, allocations: 33.61 kB / 4.092 GB, free: 67.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008336/10.7, allocations: 0.5943 MB / 4.092 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/10.7, allocations: 0 / 4.092 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002513/10.7, allocations: 0.5955 MB / 4.093 GB, free: 67.31 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.006101/10.71, allocations: 5.074 MB / 4.098 GB, free: 65.17 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001788/10.71, allocations: 1.136 MB / 4.099 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/10.71, allocations: 3.031 kB / 4.099 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/10.71, allocations: 0.6572 MB / 4.1 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/10.72, allocations: 0.586 MB / 4.1 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/10.72, allocations: 2.382 MB / 4.103 GB, free: 63.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/10.72, allocations: 1.387 MB / 4.104 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001253/10.72, allocations: 326 kB / 4.104 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/10.72, allocations: 0.5308 MB / 4.105 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/10.72, allocations: 0 / 4.105 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09116/10.81, allocations: 51.19 MB / 4.155 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/10.81, allocations: 163.4 kB / 4.155 GB, free: 60.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/14.46, allocations: 3.938 kB / 4.155 GB, free: 60.76 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)