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.00112/0.00112, allocations: 103.6 kB / 16.4 MB, free: 6.469 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.001202/0.001202, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7681/0.7681, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 70.41 kB / 0.5685 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1596, allocations: 77.94 MB / 0.6446 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.7191/0.8788, allocations: 220.8 MB / 0.8602 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03323/0.9121, allocations: 22.32 MB / 0.882 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00336/0.9155, allocations: 55.69 kB / 0.8821 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.919, allocations: 0.8113 MB / 0.8829 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01398/0.9331, allocations: 4.399 MB / 0.8872 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.9374, allocations: 1.241 MB / 0.8884 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007041/0.9444, allocations: 4.134 MB / 0.8924 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.9476, allocations: 1.62 MB / 0.894 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.9528, allocations: 1.837 MB / 0.8958 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.9573, allocations: 1.608 MB / 0.8973 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008078/0.9581, allocations: 168 kB / 0.8975 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005956/0.9641, allocations: 2.163 MB / 0.8996 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.9657, allocations: 0.7753 MB / 0.9004 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.9686, allocations: 0.9994 MB / 0.9014 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.9767, allocations: 3.165 MB / 0.9044 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.9768, allocations: 0 / 0.9044 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9768, allocations: 4 kB / 0.9044 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001509/0.977, allocations: 7.938 kB / 0.9045 GB, free: 1.531 MB / 0.6544 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.006543/0.9835, allocations: 2.211 MB / 0.9066 GB, free: 15.26 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.9836, allocations: 8.625 kB / 0.9066 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.986, allocations: 422.4 kB / 0.907 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.9883, allocations: 1.22 MB / 0.9082 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.609e-05/0.9884, allocations: 102.7 kB / 0.9083 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.9886, allocations: 140 kB / 0.9084 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.9913, allocations: 1.619 MB / 0.91 GB, free: 11.63 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.9913, allocations: 11.94 kB / 0.91 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.9914, allocations: 59.98 kB / 0.9101 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.9915, allocations: 50.55 kB / 0.9101 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.9935, allocations: 1.325 MB / 0.9114 GB, free: 10.18 MB / 0.67 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.008603/1.002, allocations: 7.183 MB / 0.9185 GB, free: 2.434 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/1.004, allocations: 0.932 MB / 0.9194 GB, free: 1.496 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/1.004, allocations: 467.6 kB / 0.9198 GB, free: 1.039 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007/1.005, allocations: 413.3 kB / 0.9202 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.005, allocations: 43.56 kB / 0.9202 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of pre-optimization done (n=83): time 3.426e-06/1.005, allocations: 4 kB / 0.9203 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of matching and sorting (n=83): time 0.003217/1.008, allocations: 1.661 MB / 0.9219 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/1.008, allocations: 60.41 kB / 0.9219 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/1.01, allocations: 1.19 MB / 0.9231 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.01, allocations: 41.7 kB / 0.9231 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/1.011, allocations: 0.7319 MB / 0.9238 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/1.011, allocations: 309.3 kB / 0.9241 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.012, allocations: 198.6 kB / 0.9243 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.012, allocations: 349.9 kB / 0.9247 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/1.013, allocations: 372.6 kB / 0.925 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/1.013, allocations: 0.7247 MB / 0.9257 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/1.015, allocations: 1.065 MB / 0.9268 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.015, allocations: 4 kB / 0.9268 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002397/1.017, allocations: 1.294 MB / 0.928 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.017, allocations: 18.02 kB / 0.9281 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.017, allocations: 8 kB / 0.9281 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/1.018, allocations: 130.5 kB / 0.9282 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/1.019, allocations: 223.6 kB / 0.9284 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/1.024, allocations: 5.974 MB / 0.9342 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/1.026, allocations: 135.2 kB / 0.9344 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/1.026, allocations: 49.5 kB / 0.9344 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00166/1.028, allocations: 0.7095 MB / 0.9351 GB, free: 448 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001168/1.029, allocations: 0.7208 MB / 0.9358 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001671/1.031, allocations: 1.068 MB / 0.9368 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.117e-05/1.031, allocations: 4 kB / 0.9369 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002657/1.033, allocations: 1.294 MB / 0.9381 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.033, allocations: 8 kB / 0.9381 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.033, allocations: 12 kB / 0.9381 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/1.034, allocations: 130.4 kB / 0.9383 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/1.035, allocations: 207.7 kB / 0.9385 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/1.04, allocations: 5.385 MB / 0.9437 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.041, allocations: 107.5 kB / 0.9438 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/1.041, allocations: 47.98 kB / 0.9439 GB, free: 6.762 MB / 0.7012 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.0003888/1.042, allocations: 263.8 kB / 0.9441 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/1.042, allocations: 143.1 kB / 0.9443 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/1.044, allocations: 1.081 MB / 0.9453 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/1.044, allocations: 8 kB / 0.9453 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.044, allocations: 0 / 0.9453 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/1.046, allocations: 1.027 MB / 0.9463 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/1.051, allocations: 2.589 MB / 0.9488 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.051, allocations: 4 kB / 0.9489 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/1.052, allocations: 159.8 kB / 0.949 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/1.052, allocations: 122.4 kB / 0.9491 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/1.052, allocations: 27.98 kB / 0.9491 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/1.057, allocations: 5.951 MB / 0.955 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.057, allocations: 4.062 kB / 0.955 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/1.06, allocations: 1.667 MB / 0.9566 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/1.061, allocations: 331.9 kB / 0.9569 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/1.061, allocations: 23.92 kB / 0.9569 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.062, allocations: 23.98 kB / 0.957 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.062, allocations: 68.52 kB / 0.957 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/1.062, allocations: 31.98 kB / 0.957 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00161/1.064, allocations: 0.8181 MB / 0.9578 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.61e-07/1.064, allocations: 0 / 0.9578 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003398/1.067, allocations: 0.8306 MB / 0.9587 GB, free: 6.898 MB / 0.7169 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.0007978/1.068, allocations: 252.7 kB / 0.9589 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00399/1.072, allocations: 2.228 MB / 0.9611 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.072, allocations: 4 kB / 0.9611 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/1.074, allocations: 0.7963 MB / 0.9619 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/1.078, allocations: 0.825 MB / 0.9627 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/1.084, allocations: 2.971 MB / 0.9656 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.085, allocations: 1.384 MB / 0.9669 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001766/1.087, allocations: 448.1 kB / 0.9673 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/1.087, allocations: 119.4 kB / 0.9675 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/1.088, allocations: 0 / 0.9675 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.05698/1.144, allocations: 31.94 MB / 0.9987 GB, free: 14.14 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)