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.00129/0.00129, 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.001373/0.001373, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 63.53 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3911, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.9862/1.377, allocations: 218.6 MB / 1.281 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03095/1.408, allocations: 22.48 MB / 1.303 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/1.412, allocations: 51.47 kB / 1.303 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003523/1.416, allocations: 0.6859 MB / 1.304 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01609/1.432, allocations: 4.13 MB / 1.308 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004934/1.437, allocations: 1.108 MB / 1.309 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009014/1.446, allocations: 5.664 MB / 1.314 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003147/1.449, allocations: 1.375 MB / 1.316 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/1.454, allocations: 1.643 MB / 1.317 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005206/1.46, allocations: 1.663 MB / 1.319 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000915/1.461, allocations: 93 kB / 1.319 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00676/1.467, allocations: 2.436 MB / 1.321 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001987/1.469, allocations: 0.702 MB / 1.322 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004053/1.474, allocations: 0.93 MB / 1.323 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008809/1.482, allocations: 3.177 MB / 1.326 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.482, allocations: 2.75 kB / 1.326 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.913e-06/1.482, allocations: 0 / 1.326 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001481/1.483, allocations: 0 / 1.326 GB, free: 3.434 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.006858/1.489, allocations: 2.159 MB / 1.328 GB, free: 18.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/1.49, allocations: 9.125 kB / 1.328 GB, free: 18.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/1.493, allocations: 412.8 kB / 1.329 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/1.496, allocations: 1.143 MB / 1.33 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.496, allocations: 108.7 kB / 1.33 GB, free: 17.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/1.496, allocations: 144.6 kB / 1.33 GB, free: 17.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/1.499, allocations: 1.631 MB / 1.332 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/1.499, allocations: 2.625 kB / 1.332 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/1.499, allocations: 60.22 kB / 1.332 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/1.5, allocations: 55.84 kB / 1.332 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/1.502, allocations: 1.324 MB / 1.333 GB, free: 17.61 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.009931/1.511, allocations: 7.148 MB / 1.34 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.513, allocations: 0.9353 MB / 1.341 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/1.514, allocations: 482.9 kB / 1.341 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008269/1.515, allocations: 411.6 kB / 1.342 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.515, allocations: 45.53 kB / 1.342 GB, free: 13.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.737e-06/1.515, allocations: 0 / 1.342 GB, free: 13.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003394/1.518, allocations: 1.643 MB / 1.343 GB, free: 12.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/1.518, allocations: 60.78 kB / 1.343 GB, free: 12.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/1.52, allocations: 1.198 MB / 1.345 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.52, allocations: 43.95 kB / 1.345 GB, free: 12.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/1.521, allocations: 0.7157 MB / 1.345 GB, free: 12.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/1.521, allocations: 302.5 kB / 1.346 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/1.522, allocations: 197.9 kB / 1.346 GB, free: 11.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.522, allocations: 341.9 kB / 1.346 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/1.522, allocations: 374.3 kB / 1.346 GB, free: 11.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008603/1.523, allocations: 0.7239 MB / 1.347 GB, free: 10.72 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/1.525, allocations: 1.073 MB / 1.348 GB, free: 10.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.525, allocations: 2.625 kB / 1.348 GB, free: 10.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002448/1.527, allocations: 1.285 MB / 1.349 GB, free: 9.602 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.527, allocations: 7.531 kB / 1.349 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.527, allocations: 15.17 kB / 1.349 GB, free: 9.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/1.528, allocations: 129.9 kB / 1.35 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.529, allocations: 220.3 kB / 1.35 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004827/1.534, allocations: 5.426 MB / 1.355 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.535, allocations: 201.1 kB / 1.355 GB, free: 4.453 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.536, allocations: 51.41 kB / 1.355 GB, free: 4.441 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001365/1.537, allocations: 0.7059 MB / 1.356 GB, free: 4.125 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001118/1.538, allocations: 0.7254 MB / 1.357 GB, free: 3.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00182/1.54, allocations: 1.066 MB / 1.358 GB, free: 2.938 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.256e-05/1.54, allocations: 2.25 kB / 1.358 GB, free: 2.938 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002843/1.543, allocations: 1.284 MB / 1.359 GB, free: 2.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.543, allocations: 10.47 kB / 1.359 GB, free: 2.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.543, allocations: 13.92 kB / 1.359 GB, free: 2.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/1.543, allocations: 139.3 kB / 1.359 GB, free: 2.395 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/1.544, allocations: 209.9 kB / 1.359 GB, free: 2.387 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/1.548, allocations: 4.833 MB / 1.364 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.551, allocations: 169.1 kB / 1.364 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/1.551, allocations: 52.39 kB / 1.364 GB, free: 13.91 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.0004589/1.551, allocations: 242.2 kB / 1.365 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005047/1.552, allocations: 147.1 kB / 1.365 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/1.554, allocations: 1.068 MB / 1.366 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.554, allocations: 8.938 kB / 1.366 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.554, allocations: 2.625 kB / 1.366 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/1.555, allocations: 1.027 MB / 1.367 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/1.56, allocations: 2.589 MB / 1.369 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.56, allocations: 3.188 kB / 1.369 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/1.561, allocations: 162.9 kB / 1.369 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/1.562, allocations: 126.1 kB / 1.37 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/1.562, allocations: 24.48 kB / 1.37 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/1.566, allocations: 5.415 MB / 1.375 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.566, allocations: 6.703 kB / 1.375 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/1.569, allocations: 1.654 MB / 1.377 GB, free: 4.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.57, allocations: 323.9 kB / 1.377 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/1.57, allocations: 24.44 kB / 1.377 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.572, allocations: 93.05 kB / 1.377 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.572, allocations: 62.08 kB / 1.377 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/1.572, allocations: 32.58 kB / 1.377 GB, free: 4.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001508/1.574, allocations: 0.8195 MB / 1.378 GB, free: 3.934 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/1.574, allocations: 2.531 kB / 1.378 GB, free: 3.934 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003576/1.577, allocations: 0.8231 MB / 1.379 GB, free: 3.785 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.0008997/1.578, allocations: 262 kB / 1.379 GB, free: 3.625 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004377/1.582, allocations: 2.204 MB / 1.381 GB, free: 2.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.582, allocations: 0 / 1.381 GB, free: 2.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.584, allocations: 0.8023 MB / 1.382 GB, free: 1.738 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.588, allocations: 0.7817 MB / 1.383 GB, free: 1.352 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/1.594, allocations: 3.51 MB / 1.386 GB, free: 14.99 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.595, allocations: 1.39 MB / 1.387 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00198/1.597, allocations: 456.3 kB / 1.388 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.598, allocations: 107.8 kB / 1.388 GB, free: 13.75 MB / 1.045 GB Notification: Performance of SimCode: time 6.92e-07/1.598, allocations: 4 kB / 1.388 GB, free: 13.75 MB / 1.045 GB Notification: Performance of Templates: time 0.05786/1.656, allocations: 30.43 MB / 1.418 GB, free: 2.453 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)