Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009795/0.0009797, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008986/0.008987, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005524/0.0005525, allocations: 17.28 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4055, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 1.027/1.433, allocations: 215.7 MB / 1.285 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02806/1.461, allocations: 22.21 MB / 1.306 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003989/1.465, allocations: 48.12 kB / 1.306 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003539/1.468, allocations: 0.6839 MB / 1.307 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01709/1.485, allocations: 4.131 MB / 1.311 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/1.489, allocations: 1.111 MB / 1.312 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009363/1.499, allocations: 5.668 MB / 1.318 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/1.502, allocations: 1.331 MB / 1.319 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/1.507, allocations: 1.585 MB / 1.321 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004387/1.511, allocations: 1.61 MB / 1.322 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/1.511, allocations: 76.91 kB / 1.322 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005712/1.517, allocations: 2.42 MB / 1.325 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009946/1.518, allocations: 0.6666 MB / 1.325 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/1.52, allocations: 0.9122 MB / 1.326 GB, free: 20.97 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004698/1.525, allocations: 3.133 MB / 1.329 GB, free: 20.69 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.525, allocations: 3.125 kB / 1.329 GB, free: 20.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/1.525, allocations: 0 / 1.329 GB, free: 20.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.923e-05/1.525, allocations: 4 kB / 1.329 GB, free: 20.69 MB / 1.014 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.002845/1.528, allocations: 1.803 MB / 1.331 GB, free: 19.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.528, allocations: 9.625 kB / 1.331 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/1.53, allocations: 417.6 kB / 1.331 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/1.532, allocations: 1.143 MB / 1.333 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.539e-05/1.532, allocations: 102.4 kB / 1.333 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/1.532, allocations: 145.8 kB / 1.333 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/1.535, allocations: 1.627 MB / 1.334 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/1.535, allocations: 2.625 kB / 1.334 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.535, allocations: 58.78 kB / 1.334 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-05/1.535, allocations: 53.11 kB / 1.334 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/1.537, allocations: 1.327 MB / 1.336 GB, free: 18.91 MB / 1.014 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.009739/1.547, allocations: 7.162 MB / 1.343 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.549, allocations: 0.9262 MB / 1.344 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/1.549, allocations: 485.3 kB / 1.344 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009199/1.55, allocations: 422.7 kB / 1.345 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/1.55, allocations: 52.7 kB / 1.345 GB, free: 14.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.806e-06/1.55, allocations: 0 / 1.345 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.0036/1.554, allocations: 1.643 MB / 1.346 GB, free: 13.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.554, allocations: 63.66 kB / 1.346 GB, free: 13.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.556, allocations: 1.199 MB / 1.347 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/1.556, allocations: 47.48 kB / 1.347 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/1.556, allocations: 0.7163 MB / 1.348 GB, free: 13.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.557, allocations: 297.3 kB / 1.348 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.557, allocations: 89.64 kB / 1.349 GB, free: 13.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.557, allocations: 343.6 kB / 1.349 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/1.557, allocations: 362.8 kB / 1.349 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/1.558, allocations: 0.7276 MB / 1.35 GB, free: 12.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/1.56, allocations: 1.065 MB / 1.351 GB, free: 12.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.56, allocations: 5.062 kB / 1.351 GB, free: 12.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00199/1.562, allocations: 1.285 MB / 1.352 GB, free: 11.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002195/1.562, allocations: 342.4 kB / 1.353 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.562, allocations: 9.406 kB / 1.353 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/1.562, allocations: 134 kB / 1.353 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/1.563, allocations: 231.7 kB / 1.353 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005375/1.569, allocations: 5.416 MB / 1.358 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.57, allocations: 208.5 kB / 1.358 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/1.571, allocations: 42.03 kB / 1.358 GB, free: 6.266 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/1.571, allocations: 3.344 kB / 1.358 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/1.572, allocations: 1.14 MB / 1.36 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.572, allocations: 8.344 kB / 1.36 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/1.573, allocations: 135.9 kB / 1.36 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/1.573, allocations: 202.1 kB / 1.36 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/1.578, allocations: 4.838 MB / 1.365 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/1.58, allocations: 183.7 kB / 1.365 GB, free: 1.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/1.58, allocations: 44.5 kB / 1.365 GB, free: 1.32 MB / 1.014 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.000965/1.581, allocations: 0.5011 MB / 1.365 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/1.581, allocations: 140.3 kB / 1.365 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/1.583, allocations: 1.073 MB / 1.367 GB, free: 284 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.583, allocations: 6.406 kB / 1.367 GB, free: 284 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.583, allocations: 2.406 kB / 1.367 GB, free: 284 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/1.584, allocations: 1.031 MB / 1.368 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/1.588, allocations: 2.592 MB / 1.37 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.588, allocations: 2.906 kB / 1.37 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/1.589, allocations: 158.7 kB / 1.37 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/1.589, allocations: 128.6 kB / 1.37 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/1.589, allocations: 20.31 kB / 1.37 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/1.594, allocations: 5.414 MB / 1.376 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.594, allocations: 9.375 kB / 1.376 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.596, allocations: 1.658 MB / 1.377 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008228/1.597, allocations: 326.7 kB / 1.378 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/1.597, allocations: 22.3 kB / 1.378 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.599, allocations: 104.7 kB / 1.378 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.599, allocations: 60.14 kB / 1.378 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/1.599, allocations: 35.14 kB / 1.378 GB, free: 7.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001344/1.6, allocations: 0.8118 MB / 1.379 GB, free: 6.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.6, allocations: 2.906 kB / 1.379 GB, free: 6.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00277/1.603, allocations: 0.8246 MB / 1.379 GB, free: 6.691 MB / 1.029 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.0006232/1.604, allocations: 263 kB / 1.38 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003404/1.607, allocations: 2.204 MB / 1.382 GB, free: 5.191 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.607, allocations: 0 / 1.382 GB, free: 5.191 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009556/1.608, allocations: 0.7939 MB / 1.383 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.612, allocations: 0.7944 MB / 1.383 GB, free: 4.254 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/1.618, allocations: 3.6 MB / 1.387 GB, free: 1.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.619, allocations: 1.387 MB / 1.388 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00171/1.621, allocations: 461.2 kB / 1.389 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/1.621, allocations: 108.4 kB / 1.389 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of SimCode: time 1.162e-06/1.621, allocations: 0 / 1.389 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of Templates: time 0.05091/1.672, allocations: 30.25 MB / 1.418 GB, free: 8.355 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)