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/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009426/0.0009426, allocations: 177.3 kB / 15.94 MB, free: 228 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.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9435/0.9435, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 12 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 83.41 MB / 0.5973 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.4694/0.6201, allocations: 177.1 MB / 0.7702 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.6419, allocations: 18.62 MB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.6439, allocations: 43.69 kB / 0.7885 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.6467, allocations: 0.766 MB / 0.7892 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008393/0.6551, allocations: 2.918 MB / 0.7921 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.6586, allocations: 1.216 MB / 0.7932 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.6622, allocations: 2.278 MB / 0.7955 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.6637, allocations: 1.187 MB / 0.7966 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/0.667, allocations: 1.667 MB / 0.7983 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.6688, allocations: 1.129 MB / 0.7994 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.669, allocations: 72 kB / 0.7994 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.6712, allocations: 0.8308 MB / 0.8002 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005663/0.6717, allocations: 0.6 MB / 0.8008 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.6721, allocations: 360.8 kB / 0.8012 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.6742, allocations: 2.057 MB / 0.8032 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6742, allocations: 0 / 0.8032 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6742, allocations: 7.938 kB / 0.8032 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.6743, allocations: 0 / 0.8032 GB, free: 9.188 MB / 0.6231 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.002652/0.6769, allocations: 1.691 MB / 0.8048 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.677, allocations: 8.031 kB / 0.8048 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.6791, allocations: 405.5 kB / 0.8052 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.6811, allocations: 1.062 MB / 0.8063 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.6811, allocations: 102.5 kB / 0.8064 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.6813, allocations: 132 kB / 0.8065 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.6837, allocations: 1.572 MB / 0.808 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.6837, allocations: 3.938 kB / 0.808 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6838, allocations: 52 kB / 0.8081 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.284e-05/0.6839, allocations: 46.45 kB / 0.8081 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.6859, allocations: 1.294 MB / 0.8094 GB, free: 2.641 MB / 0.6231 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.007475/0.6934, allocations: 6.469 MB / 0.8157 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.6948, allocations: 0.9487 MB / 0.8166 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.6952, allocations: 161.7 kB / 0.8168 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.6953, allocations: 43.16 kB / 0.8168 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.184e-06/0.6953, allocations: 0 / 0.8168 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.005398/0.7007, allocations: 2.938 MB / 0.8197 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.7007, allocations: 64.39 kB / 0.8198 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.7022, allocations: 1.185 MB / 0.8209 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.7022, allocations: 45.7 kB / 0.821 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.7028, allocations: 0.6799 MB / 0.8216 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.703, allocations: 295.6 kB / 0.8219 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.7031, allocations: 20 kB / 0.8219 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7032, allocations: 349.9 kB / 0.8223 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.7038, allocations: 373.8 kB / 0.8226 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/0.7046, allocations: 0.7113 MB / 0.8233 GB, free: 3.617 MB / 0.6387 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.01123/0.7158, allocations: 2.379 MB / 0.8256 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.7159, allocations: 4 kB / 0.8256 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002248/0.7181, allocations: 1.292 MB / 0.8269 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.7181, allocations: 8 kB / 0.8269 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.7182, allocations: 8 kB / 0.8269 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.7185, allocations: 135.1 kB / 0.827 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/0.7193, allocations: 204.1 kB / 0.8272 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.7233, allocations: 4.867 MB / 0.832 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.7247, allocations: 107.7 kB / 0.8321 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/0.7248, allocations: 44 kB / 0.8321 GB, free: 10.14 MB / 0.6544 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.0006682/0.7254, allocations: 430.9 kB / 0.8325 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.7257, allocations: 142.3 kB / 0.8327 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.7274, allocations: 1.102 MB / 0.8338 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7274, allocations: 8 kB / 0.8338 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7274, allocations: 0 / 0.8338 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/0.7287, allocations: 1.05 MB / 0.8348 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/0.7339, allocations: 3.125 MB / 0.8378 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.7339, allocations: 4 kB / 0.8378 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.7347, allocations: 156.3 kB / 0.838 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.7349, allocations: 126.5 kB / 0.8381 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-05/0.735, allocations: 27.98 kB / 0.8381 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.7389, allocations: 4.852 MB / 0.8429 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7389, allocations: 8 kB / 0.8429 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.7414, allocations: 2.088 MB / 0.8449 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.7421, allocations: 315.3 kB / 0.8452 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.7423, allocations: 24 kB / 0.8452 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.7432, allocations: 83.66 kB / 0.8453 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.7433, allocations: 80.73 kB / 0.8454 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.7434, allocations: 35.98 kB / 0.8454 GB, free: 11.44 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001086/0.7445, allocations: 0.8421 MB / 0.8463 GB, free: 10.59 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.7445, allocations: 0 / 0.8463 GB, free: 10.59 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001435/0.7459, allocations: 404 kB / 0.8466 GB, free: 10.2 MB / 0.67 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.0004829/0.7464, allocations: 244.5 kB / 0.8469 GB, free: 9.973 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.7482, allocations: 1.266 MB / 0.8481 GB, free: 8.672 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7482, allocations: 0 / 0.8481 GB, free: 8.672 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.7491, allocations: 0.7845 MB / 0.8489 GB, free: 7.848 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/0.7527, allocations: 0.8409 MB / 0.8497 GB, free: 7.023 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.7569, allocations: 3.374 MB / 0.853 GB, free: 3.551 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009469/0.7579, allocations: 1.386 MB / 0.8544 GB, free: 2.137 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001207/0.7591, allocations: 346.1 kB / 0.8547 GB, free: 1.793 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.7594, allocations: 119.4 kB / 0.8548 GB, free: 1.676 MB / 0.67 GB Notification: Performance of SimCode: time 3.71e-07/0.7594, allocations: 0 / 0.8548 GB, free: 1.676 MB / 0.67 GB Notification: Performance of Templates: time 0.2814/1.041, allocations: 29.39 MB / 0.8835 GB, free: 202.8 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: