Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 190.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009934/0.0009936, allocations: 105.6 kB / 0.748 GB, free: 61.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 59.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2755, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7519/1.027, allocations: 212.4 MB / 1.19 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02863/1.056, allocations: 21.43 MB / 1.211 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/1.059, allocations: 47.91 kB / 1.211 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002734/1.061, allocations: 0.6192 MB / 1.211 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/1.073, allocations: 3.979 MB / 1.215 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/1.077, allocations: 0.958 MB / 1.216 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008283/1.085, allocations: 5.351 MB / 1.221 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/1.088, allocations: 1.324 MB / 1.223 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005036/1.093, allocations: 1.452 MB / 1.224 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005558/1.099, allocations: 1.594 MB / 1.226 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0009175/1.1, allocations: 91.66 kB / 1.226 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006441/1.106, allocations: 2.032 MB / 1.228 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001719/1.108, allocations: 0.6709 MB / 1.228 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003105/1.111, allocations: 0.8709 MB / 1.229 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007905/1.119, allocations: 2.921 MB / 1.232 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.119, allocations: 0 / 1.232 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.773e-06/1.119, allocations: 0 / 1.232 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001483/1.119, allocations: 0 / 1.232 GB, free: 3.895 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.008703/1.128, allocations: 2.022 MB / 1.234 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/1.128, allocations: 13.84 kB / 1.234 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/1.131, allocations: 379.5 kB / 1.234 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004727/1.136, allocations: 1.086 MB / 1.235 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/1.136, allocations: 98.81 kB / 1.235 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008057/1.137, allocations: 139 kB / 1.236 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0059/1.143, allocations: 1.586 MB / 1.237 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/1.143, allocations: 1.125 kB / 1.237 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/1.143, allocations: 56.55 kB / 1.237 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.599e-05/1.144, allocations: 49.42 kB / 1.237 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/1.147, allocations: 1.284 MB / 1.239 GB, free: 0.6172 MB / 0.8073 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.012/1.159, allocations: 6.491 MB / 1.245 GB, free: 12.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.16, allocations: 0.7894 MB / 1.246 GB, free: 11.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/1.161, allocations: 440.2 kB / 1.246 GB, free: 11.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008069/1.162, allocations: 411.7 kB / 1.246 GB, free: 11.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/1.162, allocations: 43.12 kB / 1.246 GB, free: 11.17 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/1.162, allocations: 0 / 1.246 GB, free: 11.17 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.003743/1.166, allocations: 1.548 MB / 1.248 GB, free: 10.39 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.166, allocations: 58.88 kB / 1.248 GB, free: 10.33 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/1.169, allocations: 1.262 MB / 1.249 GB, free: 9.852 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/1.169, allocations: 43.28 kB / 1.249 GB, free: 9.809 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00076/1.17, allocations: 0.6945 MB / 1.25 GB, free: 9.258 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/1.17, allocations: 265.9 kB / 1.25 GB, free: 9.051 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/1.171, allocations: 194.6 kB / 1.25 GB, free: 8.953 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.171, allocations: 356.5 kB / 1.251 GB, free: 8.621 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/1.172, allocations: 347 kB / 1.251 GB, free: 8.512 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.173, allocations: 0.7234 MB / 1.252 GB, free: 7.941 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/1.174, allocations: 1.043 MB / 1.253 GB, free: 7.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.174, allocations: 2.688 kB / 1.253 GB, free: 7.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002556/1.177, allocations: 1.258 MB / 1.254 GB, free: 6.746 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.177, allocations: 7.875 kB / 1.254 GB, free: 6.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.177, allocations: 10.34 kB / 1.254 GB, free: 6.746 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/1.177, allocations: 134.5 kB / 1.254 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/1.178, allocations: 195.5 kB / 1.254 GB, free: 6.676 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/1.182, allocations: 4.85 MB / 1.259 GB, free: 2.234 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.185, allocations: 184.5 kB / 1.259 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/1.185, allocations: 47.59 kB / 1.259 GB, free: 2.129 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.001119/1.186, allocations: 420.2 kB / 1.26 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/1.186, allocations: 137.7 kB / 1.26 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/1.188, allocations: 1.058 MB / 1.261 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.188, allocations: 8.812 kB / 1.261 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.189, allocations: 0 / 1.261 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/1.19, allocations: 0.9379 MB / 1.262 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/1.195, allocations: 2.399 MB / 1.264 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.195, allocations: 2.781 kB / 1.264 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/1.196, allocations: 130.7 kB / 1.264 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/1.196, allocations: 124.3 kB / 1.264 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/1.196, allocations: 20.23 kB / 1.264 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/1.201, allocations: 4.832 MB / 1.269 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.201, allocations: 2.906 kB / 1.269 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.213, allocations: 5.66 MB / 1.275 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.214, allocations: 315.1 kB / 1.275 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/1.215, allocations: 23.98 kB / 1.275 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.216, allocations: 63.8 kB / 1.275 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.216, allocations: 56.38 kB / 1.275 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/1.216, allocations: 27.98 kB / 1.275 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001583/1.218, allocations: 0.878 MB / 1.276 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.41e-07/1.218, allocations: 0 / 1.276 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003176/1.221, allocations: 0.6087 MB / 1.277 GB, free: 3.977 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0007729/1.222, allocations: 242.2 kB / 1.277 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.224, allocations: 1.207 MB / 1.278 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.224, allocations: 0 / 1.278 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009824/1.225, allocations: 0.7386 MB / 1.279 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/1.23, allocations: 0.8371 MB / 1.28 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/1.237, allocations: 3.646 MB / 1.283 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/1.239, allocations: 1.372 MB / 1.284 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002437/1.241, allocations: 359.5 kB / 1.285 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/1.242, allocations: 115.4 kB / 1.285 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of SimCode: time 1.804e-06/1.242, allocations: 0 / 1.285 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.05894/1.301, allocations: 31.52 MB / 1.316 GB, free: 12.16 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)