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.001123/0.001123, allocations: 115.5 kB / 16.37 MB, free: 5.984 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.001019/0.001019, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 282.4 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9171/0.9171, allocations: 169.3 MB / 0.4989 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 94.33 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1832, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.4844/0.6677, allocations: 214.6 MB / 0.8912 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.692, allocations: 21.34 MB / 0.912 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.6938, allocations: 55.69 kB / 0.9121 GB, free: 2.43 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.6966, allocations: 0.7336 MB / 0.9128 GB, free: 1.691 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.7071, allocations: 4.247 MB / 0.9169 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.71, allocations: 1.072 MB / 0.918 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005441/0.7155, allocations: 3.906 MB / 0.9218 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.7181, allocations: 1.576 MB / 0.9233 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.7215, allocations: 1.623 MB / 0.9249 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.7247, allocations: 1.54 MB / 0.9264 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.725, allocations: 160 kB / 0.9266 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.7285, allocations: 1.832 MB / 0.9284 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007051/0.7292, allocations: 0.7403 MB / 0.9291 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.7304, allocations: 0.9567 MB / 0.93 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003357/0.7337, allocations: 2.929 MB / 0.9329 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7338, allocations: 7.938 kB / 0.9329 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7338, allocations: 0 / 0.9329 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.7338, allocations: 0 / 0.9329 GB, free: 13.03 MB / 0.7012 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.002894/0.7367, allocations: 2.038 MB / 0.9349 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.7367, allocations: 8.031 kB / 0.9349 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.7388, allocations: 397.6 kB / 0.9353 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.7409, allocations: 1.151 MB / 0.9364 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.741, allocations: 106.6 kB / 0.9365 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.7411, allocations: 128 kB / 0.9366 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.7434, allocations: 1.594 MB / 0.9382 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.7434, allocations: 4 kB / 0.9382 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7435, allocations: 52 kB / 0.9382 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.7436, allocations: 58.42 kB / 0.9383 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.7455, allocations: 1.298 MB / 0.9396 GB, free: 6.008 MB / 0.7012 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.007295/0.7528, allocations: 6.477 MB / 0.9459 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.7541, allocations: 0.9619 MB / 0.9468 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.7547, allocations: 482.5 kB / 0.9473 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/0.7554, allocations: 417 kB / 0.9477 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.7555, allocations: 43.22 kB / 0.9477 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.7555, allocations: 0 / 0.9477 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84): time 0.004943/0.7604, allocations: 2.936 MB / 0.9506 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.7605, allocations: 64.34 kB / 0.9506 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.7619, allocations: 1.197 MB / 0.9518 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.762, allocations: 41.7 kB / 0.9519 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.7625, allocations: 0.6799 MB / 0.9525 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.7627, allocations: 299.7 kB / 0.9528 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.763, allocations: 198.5 kB / 0.953 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7631, allocations: 349.9 kB / 0.9533 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.7637, allocations: 373.8 kB / 0.9537 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.7645, allocations: 0.7191 MB / 0.9544 GB, free: 5.984 MB / 0.7169 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.01118/0.7757, allocations: 2.927 MB / 0.9572 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.7757, allocations: 0 / 0.9572 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002135/0.7779, allocations: 1.298 MB / 0.9585 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7779, allocations: 8.125 kB / 0.9585 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.7779, allocations: 12 kB / 0.9585 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.7782, allocations: 134.5 kB / 0.9587 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.779, allocations: 207.7 kB / 0.9589 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2677/1.047, allocations: 5.368 MB / 0.9641 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.048, allocations: 49.69 kB / 0.9641 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/1.048, allocations: 45.73 kB / 0.9642 GB, free: 245.8 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0006408/1.049, allocations: 426.3 kB / 0.9646 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.049, allocations: 147.2 kB / 0.9647 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/1.051, allocations: 1.103 MB / 0.9658 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.051, allocations: 7.781 kB / 0.9658 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/1.051, allocations: 4.062 kB / 0.9658 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/1.052, allocations: 1.051 MB / 0.9669 GB, free: 244.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/1.057, allocations: 3.088 MB / 0.9699 GB, free: 243.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.057, allocations: 7.375 kB / 0.9699 GB, free: 243.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/1.058, allocations: 159.7 kB / 0.97 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/1.058, allocations: 125.3 kB / 0.9701 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/1.058, allocations: 29.14 kB / 0.9702 GB, free: 243 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/1.061, allocations: 5.367 MB / 0.9754 GB, free: 238.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.061, allocations: 10.62 kB / 0.9754 GB, free: 238.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/1.064, allocations: 1.734 MB / 0.9771 GB, free: 237.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000835/1.065, allocations: 323.1 kB / 0.9774 GB, free: 237.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.065, allocations: 24.52 kB / 0.9775 GB, free: 237.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/1.066, allocations: 27.52 kB / 0.9775 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.066, allocations: 74.12 kB / 0.9775 GB, free: 237 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/1.066, allocations: 37.11 kB / 0.9776 GB, free: 237 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001588/1.068, allocations: 0.8489 MB / 0.9784 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.068, allocations: 0 / 0.9784 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00181/1.069, allocations: 407.7 kB / 0.9788 GB, free: 236.7 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0005514/1.07, allocations: 239.9 kB / 0.979 GB, free: 236.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002129/1.072, allocations: 1.292 MB / 0.9803 GB, free: 235.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.072, allocations: 1 kB / 0.9803 GB, free: 235.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009048/1.073, allocations: 0.792 MB / 0.9811 GB, free: 235.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.077, allocations: 0.9035 MB / 0.982 GB, free: 235.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/1.081, allocations: 2.835 MB / 0.9847 GB, free: 233.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/1.082, allocations: 1.356 MB / 0.986 GB, free: 233 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001489/1.083, allocations: 355.4 kB / 0.9864 GB, free: 233 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/1.083, allocations: 113.7 kB / 0.9865 GB, free: 233 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.083, allocations: 0 / 0.9865 GB, free: 233 MB / 0.7169 GB Notification: Performance of Templates: time 0.04597/1.129, allocations: 31.8 MB / 1.018 GB, free: 217.3 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)