Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009582/0.000958, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006346/0.006346, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.214/3.214, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004221, allocations: 14.45 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3858, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 1.015/1.4, allocations: 215.7 MB / 1.285 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03225/1.433, allocations: 22.19 MB / 1.306 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/1.436, allocations: 47.31 kB / 1.306 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/1.439, allocations: 0.6812 MB / 1.307 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/1.452, allocations: 4.134 MB / 1.311 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004538/1.457, allocations: 1.111 MB / 1.312 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01013/1.467, allocations: 5.658 MB / 1.318 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/1.47, allocations: 1.337 MB / 1.319 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005253/1.475, allocations: 1.591 MB / 1.321 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006314/1.482, allocations: 1.606 MB / 1.322 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006221/1.482, allocations: 75.5 kB / 1.322 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007761/1.49, allocations: 2.416 MB / 1.325 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/1.492, allocations: 0.6727 MB / 1.325 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002764/1.495, allocations: 0.9069 MB / 1.326 GB, free: 20.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006811/1.501, allocations: 3.135 MB / 1.329 GB, free: 20.67 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.501, allocations: 3.938 kB / 1.329 GB, free: 20.67 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.006e-06/1.502, allocations: 4 kB / 1.329 GB, free: 20.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.056e-05/1.502, allocations: 0 / 1.329 GB, free: 20.66 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.004132/1.506, allocations: 1.809 MB / 1.331 GB, free: 19.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.506, allocations: 9.625 kB / 1.331 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/1.509, allocations: 416.3 kB / 1.331 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/1.511, allocations: 1.142 MB / 1.333 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/1.511, allocations: 105.4 kB / 1.333 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/1.511, allocations: 142 kB / 1.333 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/1.515, allocations: 1.631 MB / 1.334 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/1.515, allocations: 0 / 1.334 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/1.515, allocations: 59.78 kB / 1.334 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/1.515, allocations: 47.95 kB / 1.334 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/1.517, allocations: 1.332 MB / 1.336 GB, free: 18.89 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.009173/1.526, allocations: 7.16 MB / 1.343 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/1.528, allocations: 0.9227 MB / 1.344 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/1.528, allocations: 484.3 kB / 1.344 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/1.529, allocations: 423.4 kB / 1.345 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.529, allocations: 45.56 kB / 1.345 GB, free: 14.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.506e-06/1.529, allocations: 0 / 1.345 GB, free: 14.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003095/1.532, allocations: 1.649 MB / 1.346 GB, free: 13.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.532, allocations: 65.62 kB / 1.346 GB, free: 13.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/1.534, allocations: 1.195 MB / 1.347 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/1.534, allocations: 47.88 kB / 1.347 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/1.534, allocations: 0.7153 MB / 1.348 GB, free: 13.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/1.535, allocations: 300.3 kB / 1.348 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.535, allocations: 83.2 kB / 1.349 GB, free: 13.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.535, allocations: 345 kB / 1.349 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/1.536, allocations: 362.8 kB / 1.349 GB, free: 12.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/1.536, allocations: 0.726 MB / 1.35 GB, free: 12.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/1.538, allocations: 1.074 MB / 1.351 GB, free: 12.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.538, allocations: 2.625 kB / 1.351 GB, free: 12.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001928/1.54, allocations: 1.284 MB / 1.352 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/1.54, allocations: 344 kB / 1.353 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.54, allocations: 6.219 kB / 1.353 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/1.54, allocations: 134.4 kB / 1.353 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009619/1.541, allocations: 221.8 kB / 1.353 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004577/1.546, allocations: 5.429 MB / 1.358 GB, free: 6.363 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.547, allocations: 208.2 kB / 1.358 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/1.548, allocations: 45.53 kB / 1.358 GB, free: 6.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.548, allocations: 2.562 kB / 1.358 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/1.549, allocations: 1.134 MB / 1.36 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.549, allocations: 8.719 kB / 1.36 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/1.55, allocations: 131.4 kB / 1.36 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/1.55, allocations: 206.1 kB / 1.36 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/1.555, allocations: 4.848 MB / 1.365 GB, free: 1.398 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/1.557, allocations: 178.9 kB / 1.365 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/1.557, allocations: 44.75 kB / 1.365 GB, free: 1.316 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.0009912/1.558, allocations: 0.4987 MB / 1.365 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/1.558, allocations: 137.2 kB / 1.365 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/1.56, allocations: 1.075 MB / 1.367 GB, free: 288 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.56, allocations: 8.25 kB / 1.367 GB, free: 288 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/1.56, allocations: 0 / 1.367 GB, free: 288 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001359/1.561, allocations: 1.033 MB / 1.368 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/1.565, allocations: 2.585 MB / 1.37 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.565, allocations: 3.062 kB / 1.37 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/1.566, allocations: 162.7 kB / 1.37 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/1.566, allocations: 122.2 kB / 1.37 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/1.566, allocations: 21.16 kB / 1.37 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/1.571, allocations: 5.419 MB / 1.376 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.571, allocations: 7.094 kB / 1.376 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/1.573, allocations: 1.659 MB / 1.377 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007656/1.574, allocations: 325.2 kB / 1.378 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.574, allocations: 16.62 kB / 1.378 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/1.575, allocations: 97.92 kB / 1.378 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.575, allocations: 63.23 kB / 1.378 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/1.575, allocations: 38.48 kB / 1.378 GB, free: 7.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001269/1.577, allocations: 0.8144 MB / 1.379 GB, free: 6.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.577, allocations: 0 / 1.379 GB, free: 6.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002799/1.58, allocations: 0.8271 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.0007351/1.58, allocations: 269.7 kB / 1.38 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00372/1.584, allocations: 2.202 MB / 1.382 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.584, allocations: 0 / 1.382 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.585, allocations: 0.7935 MB / 1.383 GB, free: 4.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/1.59, allocations: 0.7984 MB / 1.383 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/1.595, allocations: 3.595 MB / 1.387 GB, free: 1.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.596, allocations: 1.394 MB / 1.388 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001853/1.598, allocations: 456.7 kB / 1.389 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/1.599, allocations: 108.1 kB / 1.389 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/1.599, allocations: 0 / 1.389 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of Templates: time 0.05372/1.652, allocations: 30.24 MB / 1.418 GB, free: 8.348 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)