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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7131/0.7131, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.001014/0.001014, allocations: 184.7 kB / 169.7 MB, free: 1.727 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.693/1.693, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.001031/0.001031, allocations: 83.7 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.94e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.299/5.468, allocations: 2.17 GB / 2.798 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/5.468, allocations: 94.81 kB / 2.798 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.683/10.15, allocations: 1.277 GB / 4.075 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.052e-06/10.15, allocations: 0 / 4.075 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001127/10.15, allocations: 42.97 kB / 4.075 GB, free: 78.64 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.004859/10.16, allocations: 1.859 MB / 4.077 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/10.16, allocations: 15.25 kB / 4.077 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/10.16, allocations: 366.6 kB / 4.077 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/10.16, allocations: 1.195 MB / 4.079 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/10.16, allocations: 105.1 kB / 4.079 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/10.16, allocations: 148.5 kB / 4.079 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/10.17, allocations: 1.566 MB / 4.08 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/10.17, allocations: 0 / 4.08 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/10.17, allocations: 59.03 kB / 4.08 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.852e-05/10.17, allocations: 53.36 kB / 4.08 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/10.17, allocations: 1.238 MB / 4.082 GB, free: 77.17 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.01002/10.18, allocations: 6.699 MB / 4.088 GB, free: 73.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/10.18, allocations: 0.7409 MB / 4.089 GB, free: 73.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/10.18, allocations: 388.1 kB / 4.089 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003342/10.19, allocations: 1.926 MB / 4.091 GB, free: 72.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/10.19, allocations: 46.56 kB / 4.091 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.487e-06/10.19, allocations: 3.891 kB / 4.091 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.001742/10.19, allocations: 0.8751 MB / 4.092 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/10.19, allocations: 62.94 kB / 4.092 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/10.19, allocations: 1.112 MB / 4.093 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/10.19, allocations: 43.02 kB / 4.093 GB, free: 72.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000499/10.19, allocations: 0.7699 MB / 4.094 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/10.19, allocations: 243.7 kB / 4.094 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/10.19, allocations: 21.62 kB / 4.094 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001003/10.19, allocations: 355 kB / 4.095 GB, free: 71.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/10.19, allocations: 343 kB / 4.095 GB, free: 71.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/10.19, allocations: 0.8863 MB / 4.096 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/10.19, allocations: 0.5054 MB / 4.096 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/10.19, allocations: 7.719 kB / 4.096 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002086/10.19, allocations: 1.394 MB / 4.098 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/10.19, allocations: 13.06 kB / 4.098 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/10.19, allocations: 15.16 kB / 4.098 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/10.19, allocations: 150.1 kB / 4.098 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/10.19, allocations: 235.5 kB / 4.098 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/10.2, allocations: 4.67 MB / 4.103 GB, free: 66.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/10.2, allocations: 221.9 kB / 4.103 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/10.2, allocations: 59.03 kB / 4.103 GB, free: 66.57 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.0003311/10.2, allocations: 184.1 kB / 4.103 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/10.2, allocations: 151.5 kB / 4.103 GB, free: 66.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/10.2, allocations: 0.9138 MB / 4.104 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/10.2, allocations: 6.25 kB / 4.104 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/10.2, allocations: 0 / 4.104 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/10.2, allocations: 0.895 MB / 4.105 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/10.21, allocations: 2.246 MB / 4.107 GB, free: 65.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/10.21, allocations: 0 / 4.107 GB, free: 65.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/10.21, allocations: 124.8 kB / 4.107 GB, free: 65.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/10.21, allocations: 130.8 kB / 4.107 GB, free: 65.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/10.21, allocations: 21.38 kB / 4.107 GB, free: 65.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/10.21, allocations: 4.645 MB / 4.112 GB, free: 61.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/10.21, allocations: 7.562 kB / 4.112 GB, free: 61.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/10.21, allocations: 1.498 MB / 4.113 GB, free: 61.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008111/10.21, allocations: 321.1 kB / 4.114 GB, free: 60.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/10.21, allocations: 18.56 kB / 4.114 GB, free: 60.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/10.22, allocations: 63.58 kB / 4.114 GB, free: 60.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/10.22, allocations: 52.3 kB / 4.114 GB, free: 60.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/10.22, allocations: 29.81 kB / 4.114 GB, free: 60.92 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001291/10.22, allocations: 0.8321 MB / 4.115 GB, free: 60.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/10.22, allocations: 1.594 kB / 4.115 GB, free: 60.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002848/10.22, allocations: 0.6841 MB / 4.115 GB, free: 60.75 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.003709/10.22, allocations: 2.468 MB / 4.118 GB, free: 59.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001983/10.23, allocations: 1.212 MB / 4.119 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/10.23, allocations: 0 / 4.119 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/10.23, allocations: 0.6952 MB / 4.12 GB, free: 59.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/10.23, allocations: 0.791 MB / 4.12 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/10.23, allocations: 2.111 MB / 4.123 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/10.23, allocations: 1.39 MB / 4.124 GB, free: 57.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001658/10.24, allocations: 362.4 kB / 4.124 GB, free: 57.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/10.24, allocations: 106.1 kB / 4.124 GB, free: 57.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/10.24, allocations: 2.719 kB / 4.124 GB, free: 57.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.08251/10.32, allocations: 60.86 MB / 4.184 GB, free: 23.24 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)