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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM") translateModel(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001438/0.001438, allocations: 121.7 kB / 17.09 MB, free: 6.012 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.001269/0.001269, allocations: 192.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7863/0.7863, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.19 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.6419/0.7923, allocations: 220.8 MB / 0.8484 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03233/0.8247, allocations: 22.31 MB / 0.8702 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.8279, allocations: 59.69 kB / 0.8702 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.831, allocations: 0.8074 MB / 0.871 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.8446, allocations: 4.411 MB / 0.8753 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.8488, allocations: 1.235 MB / 0.8765 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006811/0.8556, allocations: 4.127 MB / 0.8806 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.8588, allocations: 1.622 MB / 0.8821 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004648/0.8634, allocations: 1.868 MB / 0.884 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004101/0.8676, allocations: 1.607 MB / 0.8855 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.8683, allocations: 164 kB / 0.8857 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006392/0.8747, allocations: 2.167 MB / 0.8878 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.8764, allocations: 0.7675 MB / 0.8886 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.879, allocations: 1.007 MB / 0.8895 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007209/0.8862, allocations: 3.143 MB / 0.8926 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8863, allocations: 0 / 0.8926 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.01e-06/0.8863, allocations: 0 / 0.8926 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.442e-05/0.8864, allocations: 3.938 kB / 0.8926 GB, free: 2.098 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004277/0.8907, allocations: 2.151 MB / 0.8947 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.8907, allocations: 12.03 kB / 0.8947 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.8931, allocations: 417.2 kB / 0.8951 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.8955, allocations: 1.211 MB / 0.8963 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.8956, allocations: 102.7 kB / 0.8964 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.8958, allocations: 136 kB / 0.8965 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.8986, allocations: 1.635 MB / 0.8981 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.8986, allocations: 4 kB / 0.8981 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.8988, allocations: 61.12 kB / 0.8982 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.8988, allocations: 46.55 kB / 0.8982 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.901, allocations: 1.337 MB / 0.8996 GB, free: 10.8 MB / 0.6544 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.008845/0.9098, allocations: 7.154 MB / 0.9065 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.9113, allocations: 0.9362 MB / 0.9075 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/0.9119, allocations: 475.6 kB / 0.9079 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.9127, allocations: 413.3 kB / 0.9083 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.9127, allocations: 43.56 kB / 0.9083 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 4.97e-06/0.9127, allocations: 0 / 0.9083 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.003187/0.9159, allocations: 1.649 MB / 0.91 GB, free: 15.42 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.916, allocations: 60.41 kB / 0.91 GB, free: 15.35 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.9176, allocations: 1.198 MB / 0.9112 GB, free: 14.13 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.9177, allocations: 45.7 kB / 0.9112 GB, free: 14.08 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.9183, allocations: 0.7188 MB / 0.9119 GB, free: 13.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.9186, allocations: 295.7 kB / 0.9122 GB, free: 13.06 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.9189, allocations: 198.5 kB / 0.9124 GB, free: 12.86 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.919, allocations: 353.8 kB / 0.9127 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.9196, allocations: 373.5 kB / 0.9131 GB, free: 12.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.9204, allocations: 0.7208 MB / 0.9138 GB, free: 11.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.9218, allocations: 1.072 MB / 0.9148 GB, free: 10.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.9218, allocations: 0 / 0.9148 GB, free: 10.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002069/0.9239, allocations: 1.289 MB / 0.9161 GB, free: 8.777 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.9239, allocations: 12.16 kB / 0.9161 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.9239, allocations: 8 kB / 0.9161 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.9243, allocations: 126.5 kB / 0.9162 GB, free: 8.625 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/0.9252, allocations: 234.5 kB / 0.9165 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/0.9301, allocations: 5.963 MB / 0.9223 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.9319, allocations: 126.9 kB / 0.9224 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.932, allocations: 51.94 kB / 0.9225 GB, free: 1.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.9333, allocations: 0.7087 MB / 0.9231 GB, free: 1.109 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008387/0.9341, allocations: 0.7208 MB / 0.9239 GB, free: 244 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00134/0.9355, allocations: 1.068 MB / 0.9249 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.071e-06/0.9355, allocations: 4 kB / 0.9249 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.00212/0.9376, allocations: 1.277 MB / 0.9261 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9376, allocations: 8 kB / 0.9262 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.9377, allocations: 8 kB / 0.9262 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/0.9379, allocations: 138.5 kB / 0.9263 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.9387, allocations: 207.6 kB / 0.9265 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00432/0.943, allocations: 5.377 MB / 0.9317 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.9447, allocations: 119.2 kB / 0.9319 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.9448, allocations: 47.98 kB / 0.9319 GB, free: 7.441 MB / 0.6856 GB 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): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003432/0.9451, allocations: 240 kB / 0.9321 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.9454, allocations: 146.2 kB / 0.9323 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.9472, allocations: 1.073 MB / 0.9333 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9472, allocations: 8 kB / 0.9333 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.9472, allocations: 0 / 0.9333 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.9485, allocations: 1.035 MB / 0.9343 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.9524, allocations: 2.581 MB / 0.9369 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9524, allocations: 4.031 kB / 0.9369 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.9533, allocations: 160.9 kB / 0.937 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.9535, allocations: 126.4 kB / 0.9371 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.9536, allocations: 23.98 kB / 0.9372 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/0.9581, allocations: 5.955 MB / 0.943 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.9582, allocations: 3.938 kB / 0.943 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.9607, allocations: 1.667 MB / 0.9446 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.9614, allocations: 319.2 kB / 0.9449 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.9615, allocations: 19.94 kB / 0.9449 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.9623, allocations: 29.88 kB / 0.945 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.9624, allocations: 64.52 kB / 0.945 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.9625, allocations: 35.98 kB / 0.9451 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001111/0.9636, allocations: 0.8182 MB / 0.9459 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9636, allocations: 0 / 0.9459 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002402/0.966, allocations: 0.8262 MB / 0.9467 GB, free: 7.617 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006501/0.9667, allocations: 254.4 kB / 0.9469 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003458/0.9702, allocations: 2.225 MB / 0.9491 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9702, allocations: 4.062 kB / 0.9491 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.9712, allocations: 0.8041 MB / 0.9499 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/0.9749, allocations: 0.8199 MB / 0.9507 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.9798, allocations: 3.018 MB / 0.9536 GB, free: 352 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000999/0.9808, allocations: 1.388 MB / 0.955 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.9813, allocations: 115.4 kB / 0.9551 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.9813, allocations: 4 kB / 0.9551 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of Templates: time 0.0585/1.04, allocations: 50.49 MB / 1.004 GB, free: 12.47 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)