Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008187/0.0008187, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000899/0.0008991, allocations: 172.7 kB / 15.95 MB, free: 208 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.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 263.1 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9447/0.9447, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003967, allocations: 18.12 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.4591/0.5963, allocations: 195.5 MB / 0.8754 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02215/0.6184, allocations: 19.86 MB / 0.8948 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.6201, allocations: 39.75 kB / 0.8948 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.6218, allocations: 0.5124 MB / 0.8953 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007732/0.6296, allocations: 2.951 MB / 0.8982 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.6321, allocations: 0.7934 MB / 0.899 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004991/0.6371, allocations: 4.545 MB / 0.9034 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.6388, allocations: 1.159 MB / 0.9045 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.6415, allocations: 1.408 MB / 0.9059 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.644, allocations: 1.464 MB / 0.9073 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.6441, allocations: 68 kB / 0.9074 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.6469, allocations: 0.9198 MB / 0.9083 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006658/0.6475, allocations: 0.6466 MB / 0.9089 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.648, allocations: 364.8 kB / 0.9093 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.6502, allocations: 2.046 MB / 0.9113 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.6502, allocations: 0 / 0.9113 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6502, allocations: 0 / 0.9113 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.6503, allocations: 0 / 0.9113 GB, free: 7.988 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.002589/0.6529, allocations: 1.719 MB / 0.913 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6529, allocations: 15.97 kB / 0.913 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.655, allocations: 393.6 kB / 0.9133 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.6567, allocations: 1.059 MB / 0.9144 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.6568, allocations: 102.6 kB / 0.9145 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.657, allocations: 143.8 kB / 0.9146 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.6595, allocations: 1.579 MB / 0.9162 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.6595, allocations: 3.984 kB / 0.9162 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.6596, allocations: 60 kB / 0.9162 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/0.6597, allocations: 46.45 kB / 0.9163 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.6617, allocations: 1.29 MB / 0.9175 GB, free: 1.395 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.007121/0.6689, allocations: 6.477 MB / 0.9238 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6703, allocations: 0.9496 MB / 0.9248 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/0.6709, allocations: 479.3 kB / 0.9252 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.6716, allocations: 421 kB / 0.9256 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.6716, allocations: 51.16 kB / 0.9257 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.6716, allocations: 3.938 kB / 0.9257 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.005105/0.6768, allocations: 2.925 MB / 0.9285 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.6768, allocations: 64.41 kB / 0.9286 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6782, allocations: 1.189 MB / 0.9298 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.6783, allocations: 41.7 kB / 0.9298 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/0.6788, allocations: 0.676 MB / 0.9305 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.6791, allocations: 303.7 kB / 0.9308 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.6791, allocations: 20 kB / 0.9308 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6793, allocations: 345.9 kB / 0.9311 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.6798, allocations: 369.8 kB / 0.9315 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.6806, allocations: 0.719 MB / 0.9322 GB, free: 1.578 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.01031/0.691, allocations: 2.377 MB / 0.9345 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.691, allocations: 0 / 0.9345 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002087/0.6931, allocations: 1.297 MB / 0.9357 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.6931, allocations: 8 kB / 0.9358 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.6931, allocations: 8 kB / 0.9358 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.6934, allocations: 138.5 kB / 0.9359 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.6942, allocations: 203.7 kB / 0.9361 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.6981, allocations: 4.828 MB / 0.9408 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.6994, allocations: 111.7 kB / 0.9409 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.6994, allocations: 44 kB / 0.941 GB, free: 8.137 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.0006731/0.7001, allocations: 436.6 kB / 0.9414 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.7003, allocations: 138.3 kB / 0.9415 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.7021, allocations: 1.092 MB / 0.9426 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7021, allocations: 8 kB / 0.9426 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.7021, allocations: 0 / 0.9426 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/0.7034, allocations: 1.054 MB / 0.9436 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.7085, allocations: 3.125 MB / 0.9467 GB, free: 2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.7086, allocations: 15.94 kB / 0.9467 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.7093, allocations: 159.8 kB / 0.9468 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002595/0.7096, allocations: 122.5 kB / 0.9469 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.7096, allocations: 27.98 kB / 0.947 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.7134, allocations: 4.816 MB / 0.9517 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.7134, allocations: 12 kB / 0.9517 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.7157, allocations: 1.726 MB / 0.9534 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.7163, allocations: 311.3 kB / 0.9537 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.7164, allocations: 27.98 kB / 0.9537 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.7173, allocations: 75.75 kB / 0.9538 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.7174, allocations: 88.3 kB / 0.9538 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.7175, allocations: 31.98 kB / 0.9539 GB, free: 10.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001081/0.7186, allocations: 0.8343 MB / 0.9547 GB, free: 9.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7186, allocations: 0 / 0.9547 GB, free: 9.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001408/0.72, allocations: 408 kB / 0.9551 GB, free: 8.832 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.0004976/0.7205, allocations: 250.7 kB / 0.9553 GB, free: 8.594 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.7223, allocations: 1.261 MB / 0.9566 GB, free: 7.293 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7223, allocations: 3.938 kB / 0.9566 GB, free: 7.289 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.7232, allocations: 0.79 MB / 0.9573 GB, free: 6.465 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.7266, allocations: 0.8491 MB / 0.9582 GB, free: 5.633 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.7308, allocations: 3.37 MB / 0.9614 GB, free: 2.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/0.7317, allocations: 1.355 MB / 0.9628 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001237/0.733, allocations: 352.8 kB / 0.9631 GB, free: 436 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.7333, allocations: 115.4 kB / 0.9632 GB, free: 320 kB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.7333, allocations: 0 / 0.9632 GB, free: 320 kB / 0.67 GB Notification: Performance of Templates: time 0.04596/0.7792, allocations: 29.38 MB / 0.9919 GB, free: 3.383 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)