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.001702/0.001702, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002044/0.002044, allocations: 193 kB / 16.25 MB, free: 6.617 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 62.23 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3562, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.9478/1.304, allocations: 218.1 MB / 1.281 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03001/1.334, allocations: 22.16 MB / 1.302 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/1.338, allocations: 52.91 kB / 1.302 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003107/1.341, allocations: 0.7013 MB / 1.303 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01338/1.354, allocations: 4.14 MB / 1.307 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003958/1.358, allocations: 1.121 MB / 1.308 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006087/1.365, allocations: 4.124 MB / 1.312 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/1.367, allocations: 1.57 MB / 1.314 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/1.372, allocations: 1.85 MB / 1.316 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004534/1.377, allocations: 1.712 MB / 1.317 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/1.377, allocations: 168 kB / 1.317 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006031/1.383, allocations: 2.255 MB / 1.32 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001254/1.385, allocations: 0.7807 MB / 1.32 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00189/1.387, allocations: 0.9999 MB / 1.321 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006564/1.393, allocations: 3.241 MB / 1.324 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.393, allocations: 4.938 kB / 1.324 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/1.393, allocations: 0 / 1.324 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.964e-05/1.393, allocations: 0.9375 kB / 1.324 GB, free: 4.301 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.005117/1.398, allocations: 2.161 MB / 1.327 GB, free: 19.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.399, allocations: 8.969 kB / 1.327 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/1.401, allocations: 419 kB / 1.327 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/1.403, allocations: 1.14 MB / 1.328 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/1.403, allocations: 103 kB / 1.328 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/1.403, allocations: 141.6 kB / 1.328 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/1.407, allocations: 1.639 MB / 1.33 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/1.407, allocations: 0 / 1.33 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/1.407, allocations: 59.91 kB / 1.33 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-05/1.407, allocations: 53.33 kB / 1.33 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/1.409, allocations: 1.322 MB / 1.331 GB, free: 18.49 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.008741/1.418, allocations: 7.161 MB / 1.338 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/1.419, allocations: 0.9211 MB / 1.339 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/1.42, allocations: 477.8 kB / 1.34 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/1.42, allocations: 415 kB / 1.34 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.42, allocations: 45.66 kB / 1.34 GB, free: 13.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.695e-06/1.42, allocations: 0 / 1.34 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003137/1.424, allocations: 1.648 MB / 1.342 GB, free: 13.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.424, allocations: 60.97 kB / 1.342 GB, free: 13.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.425, allocations: 1.199 MB / 1.343 GB, free: 12.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/1.425, allocations: 43.52 kB / 1.343 GB, free: 12.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/1.426, allocations: 0.7127 MB / 1.344 GB, free: 12.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/1.426, allocations: 304.8 kB / 1.344 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/1.426, allocations: 191 kB / 1.344 GB, free: 12.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.427, allocations: 344.5 kB / 1.345 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/1.427, allocations: 372.7 kB / 1.345 GB, free: 11.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/1.428, allocations: 0.7251 MB / 1.346 GB, free: 11.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.429, allocations: 1.072 MB / 1.347 GB, free: 10.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.429, allocations: 1.906 kB / 1.347 GB, free: 10.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001951/1.431, allocations: 1.282 MB / 1.348 GB, free: 9.918 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.431, allocations: 10.16 kB / 1.348 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.431, allocations: 10.78 kB / 1.348 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/1.432, allocations: 137.3 kB / 1.348 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009473/1.433, allocations: 221.5 kB / 1.348 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/1.438, allocations: 5.984 MB / 1.354 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.44, allocations: 194.2 kB / 1.354 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/1.44, allocations: 48.67 kB / 1.354 GB, free: 4.242 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001295/1.441, allocations: 0.704 MB / 1.355 GB, free: 3.926 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000879/1.442, allocations: 0.732 MB / 1.356 GB, free: 3.363 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001398/1.443, allocations: 1.061 MB / 1.357 GB, free: 2.734 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/1.443, allocations: 0 / 1.357 GB, free: 2.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002/1.445, allocations: 1.286 MB / 1.358 GB, free: 2.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.445, allocations: 10.55 kB / 1.358 GB, free: 2.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.445, allocations: 12.44 kB / 1.358 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/1.446, allocations: 134.2 kB / 1.358 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/1.446, allocations: 211.6 kB / 1.358 GB, free: 2.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/1.451, allocations: 5.378 MB / 1.364 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/1.453, allocations: 173.8 kB / 1.364 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/1.453, allocations: 46.14 kB / 1.364 GB, free: 13.2 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.0004276/1.453, allocations: 249.4 kB / 1.364 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/1.454, allocations: 139.7 kB / 1.364 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/1.455, allocations: 1.07 MB / 1.365 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/1.456, allocations: 8.656 kB / 1.365 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.456, allocations: 4 kB / 1.365 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/1.457, allocations: 1.032 MB / 1.366 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004369/1.461, allocations: 2.586 MB / 1.369 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.461, allocations: 6.594 kB / 1.369 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/1.462, allocations: 159.5 kB / 1.369 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/1.462, allocations: 120.8 kB / 1.369 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/1.462, allocations: 24.38 kB / 1.369 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0047/1.467, allocations: 5.962 MB / 1.375 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.467, allocations: 5.344 kB / 1.375 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/1.47, allocations: 1.659 MB / 1.377 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007975/1.471, allocations: 322.5 kB / 1.377 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/1.471, allocations: 19.97 kB / 1.377 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/1.472, allocations: 92.42 kB / 1.377 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.472, allocations: 65.12 kB / 1.377 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/1.472, allocations: 30.72 kB / 1.377 GB, free: 4.035 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001176/1.473, allocations: 0.8177 MB / 1.378 GB, free: 3.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.473, allocations: 5.969 kB / 1.378 GB, free: 3.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002551/1.476, allocations: 0.8345 MB / 1.379 GB, free: 3.559 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.000643/1.476, allocations: 259.4 kB / 1.379 GB, free: 3.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003935/1.48, allocations: 2.408 MB / 1.381 GB, free: 2.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.48, allocations: 5.156 kB / 1.381 GB, free: 2.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.481, allocations: 0.8122 MB / 1.382 GB, free: 1.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/1.485, allocations: 0.8069 MB / 1.383 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/1.49, allocations: 3.516 MB / 1.386 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.491, allocations: 1.386 MB / 1.388 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001726/1.493, allocations: 450.6 kB / 1.388 GB, free: 13.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/1.493, allocations: 110.3 kB / 1.388 GB, free: 13.8 MB / 1.045 GB Notification: Performance of SimCode: time 8.72e-07/1.493, allocations: 0 / 1.388 GB, free: 13.8 MB / 1.045 GB Notification: Performance of Templates: time 0.05627/1.55, allocations: 31.52 MB / 1.419 GB, free: 2.344 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)