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.001021/0.001021, allocations: 102.5 kB / 16.4 MB, free: 6.465 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.001065/0.001065, allocations: 196 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6893/0.6893, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 70.19 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1337, allocations: 76.18 MB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.5539/0.6877, allocations: 220.8 MB / 0.8477 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.7139, allocations: 22.32 MB / 0.8695 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.716, allocations: 55.69 kB / 0.8696 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.7181, allocations: 0.8074 MB / 0.8704 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00978/0.728, allocations: 4.406 MB / 0.8747 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.731, allocations: 1.23 MB / 0.8759 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004846/0.7358, allocations: 4.128 MB / 0.8799 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.7385, allocations: 1.629 MB / 0.8815 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.7424, allocations: 1.857 MB / 0.8833 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003723/0.7461, allocations: 1.606 MB / 0.8849 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006828/0.7468, allocations: 168 kB / 0.885 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.7518, allocations: 2.171 MB / 0.8872 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.753, allocations: 0.7715 MB / 0.8879 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.7553, allocations: 0.9993 MB / 0.8889 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.7615, allocations: 3.147 MB / 0.892 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7615, allocations: 0 / 0.892 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.537e-06/0.7615, allocations: 0 / 0.892 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001055/0.7616, allocations: 3.938 kB / 0.892 GB, free: 2.281 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.004733/0.7663, allocations: 2.155 MB / 0.8941 GB, free: 72 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7664, allocations: 12.03 kB / 0.8941 GB, free: 60 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.7688, allocations: 417.5 kB / 0.8945 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.7712, allocations: 1.199 MB / 0.8956 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.748e-05/0.7713, allocations: 114.6 kB / 0.8958 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.7716, allocations: 140 kB / 0.8959 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.7747, allocations: 1.627 MB / 0.8975 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.7748, allocations: 7.922 kB / 0.8975 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.7749, allocations: 56 kB / 0.8975 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.651e-05/0.775, allocations: 54.53 kB / 0.8976 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.7772, allocations: 1.329 MB / 0.8989 GB, free: 10.98 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.008177/0.7854, allocations: 7.154 MB / 0.9059 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.7868, allocations: 0.9363 MB / 0.9068 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.7874, allocations: 475.6 kB / 0.9072 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.7881, allocations: 417.3 kB / 0.9076 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.7881, allocations: 47.5 kB / 0.9077 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 2.314e-06/0.7881, allocations: 0 / 0.9077 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.002904/0.791, allocations: 1.649 MB / 0.9093 GB, free: 15.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.7911, allocations: 60.41 kB / 0.9094 GB, free: 15.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.7926, allocations: 1.194 MB / 0.9105 GB, free: 14.31 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.258e-05/0.7927, allocations: 45.7 kB / 0.9106 GB, free: 14.26 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/0.7933, allocations: 0.7149 MB / 0.9113 GB, free: 13.54 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.7935, allocations: 299.6 kB / 0.9116 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.7938, allocations: 194.5 kB / 0.9117 GB, free: 13.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.794, allocations: 349.9 kB / 0.9121 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.7945, allocations: 372.6 kB / 0.9124 GB, free: 12.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.7953, allocations: 0.7252 MB / 0.9131 GB, free: 11.45 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.7967, allocations: 1.065 MB / 0.9142 GB, free: 10.28 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.7967, allocations: 4 kB / 0.9142 GB, free: 10.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001981/0.7987, allocations: 1.288 MB / 0.9154 GB, free: 8.965 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7987, allocations: 8 kB / 0.9154 GB, free: 8.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.7987, allocations: 9.125 kB / 0.9155 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.799, allocations: 135.1 kB / 0.9156 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.8, allocations: 223.6 kB / 0.9158 GB, free: 8.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/0.8045, allocations: 5.971 MB / 0.9216 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.8057, allocations: 126.7 kB / 0.9217 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.8058, allocations: 54.58 kB / 0.9218 GB, free: 2.004 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.8069, allocations: 0.7011 MB / 0.9225 GB, free: 1.301 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008511/0.8077, allocations: 0.7286 MB / 0.9232 GB, free: 432 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001372/0.8091, allocations: 1.068 MB / 0.9242 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.63e-06/0.8091, allocations: 4 kB / 0.9242 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.001996/0.8111, allocations: 1.277 MB / 0.9255 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.8112, allocations: 8 kB / 0.9255 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8112, allocations: 8.719 kB / 0.9255 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.8114, allocations: 138.4 kB / 0.9256 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.8122, allocations: 211.7 kB / 0.9258 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.8165, allocations: 5.381 MB / 0.9311 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.8179, allocations: 95.25 kB / 0.9312 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.818, allocations: 47.98 kB / 0.9312 GB, free: 7.637 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.0003003/0.8183, allocations: 256 kB / 0.9315 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.8186, allocations: 138.3 kB / 0.9316 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.8203, allocations: 1.073 MB / 0.9327 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8203, allocations: 8 kB / 0.9327 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.8204, allocations: 0 / 0.9327 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/0.8217, allocations: 1.035 MB / 0.9337 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.8258, allocations: 2.581 MB / 0.9362 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8259, allocations: 7.938 kB / 0.9362 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.8266, allocations: 159.8 kB / 0.9364 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.8269, allocations: 126.8 kB / 0.9365 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.827, allocations: 27.98 kB / 0.9365 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.8316, allocations: 5.954 MB / 0.9423 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.8316, allocations: 5.594 kB / 0.9423 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.8341, allocations: 1.663 MB / 0.9439 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/0.8348, allocations: 319.2 kB / 0.9442 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.8351, allocations: 23.94 kB / 0.9443 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009616/0.836, allocations: 27.98 kB / 0.9443 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.8362, allocations: 60.52 kB / 0.9444 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/0.8363, allocations: 31.98 kB / 0.9444 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001533/0.8378, allocations: 0.8182 MB / 0.9452 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8378, allocations: 0 / 0.9452 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002954/0.8408, allocations: 0.8301 MB / 0.946 GB, free: 7.805 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.0006997/0.8415, allocations: 263.4 kB / 0.9462 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003879/0.8454, allocations: 2.228 MB / 0.9484 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8454, allocations: 0 / 0.9484 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009934/0.8464, allocations: 0.8057 MB / 0.9492 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/0.85, allocations: 0.8128 MB / 0.95 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.855, allocations: 2.916 MB / 0.9529 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.8563, allocations: 1.392 MB / 0.9542 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001493/0.8578, allocations: 444.1 kB / 0.9546 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.8582, allocations: 111.4 kB / 0.9547 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.8582, allocations: 0 / 0.9547 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of Templates: time 0.05487/0.913, allocations: 31.95 MB / 0.9859 GB, free: 15.12 MB / 0.7481 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)