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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001579/0.001579, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 65.86 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3851, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.9805/1.366, allocations: 218.6 MB / 1.281 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03063/1.396, allocations: 22.48 MB / 1.303 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/1.4, allocations: 52.31 kB / 1.303 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002659/1.402, allocations: 0.6818 MB / 1.304 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/1.416, allocations: 4.133 MB / 1.308 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004047/1.42, allocations: 1.107 MB / 1.309 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008505/1.429, allocations: 5.667 MB / 1.314 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/1.431, allocations: 1.374 MB / 1.316 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005494/1.437, allocations: 1.644 MB / 1.317 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005469/1.442, allocations: 1.663 MB / 1.319 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005335/1.443, allocations: 92.5 kB / 1.319 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007998/1.451, allocations: 2.439 MB / 1.321 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/1.452, allocations: 0.7033 MB / 1.322 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001938/1.454, allocations: 0.9296 MB / 1.323 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005787/1.46, allocations: 3.176 MB / 1.326 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.46, allocations: 0 / 1.326 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/1.46, allocations: 0 / 1.326 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.143e-05/1.46, allocations: 0 / 1.326 GB, free: 3.469 MB / 0.9981 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.004049/1.464, allocations: 2.16 MB / 1.328 GB, free: 18.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.464, allocations: 8.719 kB / 1.328 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/1.466, allocations: 422 kB / 1.329 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/1.469, allocations: 1.141 MB / 1.33 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/1.469, allocations: 100.9 kB / 1.33 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/1.469, allocations: 142.5 kB / 1.33 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/1.472, allocations: 1.635 MB / 1.332 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/1.472, allocations: 4.938 kB / 1.332 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.472, allocations: 61.92 kB / 1.332 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/1.472, allocations: 51.95 kB / 1.332 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/1.474, allocations: 1.325 MB / 1.333 GB, free: 17.64 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.008416/1.482, allocations: 7.153 MB / 1.34 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/1.484, allocations: 0.9268 MB / 1.341 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/1.485, allocations: 483.8 kB / 1.341 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007581/1.486, allocations: 413.8 kB / 1.342 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/1.486, allocations: 47.12 kB / 1.342 GB, free: 13.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.096e-06/1.486, allocations: 0 / 1.342 GB, free: 13.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003126/1.489, allocations: 1.638 MB / 1.343 GB, free: 12.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1.489, allocations: 61.09 kB / 1.343 GB, free: 12.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/1.49, allocations: 1.198 MB / 1.345 GB, free: 12.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/1.49, allocations: 49.05 kB / 1.345 GB, free: 12.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/1.491, allocations: 0.7116 MB / 1.345 GB, free: 12.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/1.491, allocations: 303.1 kB / 1.346 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.492, allocations: 194.5 kB / 1.346 GB, free: 11.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.492, allocations: 344.4 kB / 1.346 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/1.492, allocations: 369.3 kB / 1.346 GB, free: 11.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008963/1.493, allocations: 0.7281 MB / 1.347 GB, free: 10.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.495, allocations: 1.07 MB / 1.348 GB, free: 10.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.495, allocations: 0 / 1.348 GB, free: 10.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002108/1.497, allocations: 1.283 MB / 1.349 GB, free: 9.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.497, allocations: 9.844 kB / 1.349 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.497, allocations: 12.44 kB / 1.349 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/1.497, allocations: 137.5 kB / 1.35 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/1.498, allocations: 224.4 kB / 1.35 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/1.503, allocations: 5.427 MB / 1.355 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/1.505, allocations: 201.4 kB / 1.355 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.505, allocations: 47.34 kB / 1.355 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001277/1.506, allocations: 0.7054 MB / 1.356 GB, free: 4.148 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008355/1.507, allocations: 0.7238 MB / 1.357 GB, free: 3.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/1.508, allocations: 1.071 MB / 1.358 GB, free: 2.953 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/1.508, allocations: 3.906 kB / 1.358 GB, free: 2.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002242/1.511, allocations: 1.289 MB / 1.359 GB, free: 2.465 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.511, allocations: 10.16 kB / 1.359 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.511, allocations: 8.25 kB / 1.359 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/1.511, allocations: 129.5 kB / 1.359 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/1.512, allocations: 211.2 kB / 1.359 GB, free: 2.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/1.518, allocations: 4.842 MB / 1.364 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/1.522, allocations: 167.7 kB / 1.364 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/1.522, allocations: 47.97 kB / 1.364 GB, free: 13.93 MB / 1.029 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.0007131/1.523, allocations: 247.4 kB / 1.365 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007464/1.523, allocations: 151.7 kB / 1.365 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/1.526, allocations: 1.069 MB / 1.366 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.527, allocations: 8.562 kB / 1.366 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.527, allocations: 0 / 1.366 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002401/1.529, allocations: 1.029 MB / 1.367 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008638/1.538, allocations: 2.59 MB / 1.369 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.538, allocations: 2.656 kB / 1.369 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/1.539, allocations: 163.6 kB / 1.369 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/1.54, allocations: 119.7 kB / 1.37 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.54, allocations: 26.36 kB / 1.37 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.551, allocations: 5.42 MB / 1.375 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.551, allocations: 3.375 kB / 1.375 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006098/1.557, allocations: 1.654 MB / 1.377 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.559, allocations: 326.8 kB / 1.377 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006736/1.56, allocations: 24.44 kB / 1.377 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.562, allocations: 91.66 kB / 1.377 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/1.562, allocations: 64.2 kB / 1.377 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/1.563, allocations: 32.2 kB / 1.377 GB, free: 4.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002744/1.565, allocations: 0.8199 MB / 1.378 GB, free: 3.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.81e-07/1.565, allocations: 0 / 1.378 GB, free: 3.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005887/1.571, allocations: 0.8293 MB / 1.379 GB, free: 3.816 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.001209/1.572, allocations: 243.3 kB / 1.379 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006589/1.579, allocations: 2.2 MB / 1.381 GB, free: 2.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.579, allocations: 2.969 kB / 1.381 GB, free: 2.332 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/1.581, allocations: 0.7999 MB / 1.382 GB, free: 1.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008882/1.59, allocations: 0.7971 MB / 1.383 GB, free: 1.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.601, allocations: 3.518 MB / 1.386 GB, free: 15.03 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/1.603, allocations: 1.391 MB / 1.387 GB, free: 14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004179/1.608, allocations: 453.6 kB / 1.388 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006857/1.608, allocations: 103.7 kB / 1.388 GB, free: 13.79 MB / 1.045 GB Notification: Performance of SimCode: time 2.004e-06/1.608, allocations: 0 / 1.388 GB, free: 13.79 MB / 1.045 GB Notification: Performance of Templates: time 0.06222/1.671, allocations: 30.41 MB / 1.418 GB, free: 2.473 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)