Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.893/1.893, allocations: 288.4 MB / 303.7 MB, free: 8.109 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.001055/0.001055, allocations: 176.5 kB / 372.3 MB, free: 10.12 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.76/1.76, allocations: 205.4 MB / 0.631 GB, free: 9.812 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 102.3 kB / 0.7444 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 18 kB / 0.8675 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2644, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8436/1.108, allocations: 195.5 MB / 1.171 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03599/1.144, allocations: 19.8 MB / 1.19 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/1.147, allocations: 44.31 kB / 1.19 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002977/1.15, allocations: 0.5675 MB / 1.191 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01772/1.168, allocations: 3.683 MB / 1.195 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004476/1.173, allocations: 0.7965 MB / 1.195 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008968/1.182, allocations: 4.533 MB / 1.2 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/1.185, allocations: 1.279 MB / 1.201 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/1.189, allocations: 1.388 MB / 1.202 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/1.192, allocations: 1.473 MB / 1.204 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003157/1.193, allocations: 70.81 kB / 1.204 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005545/1.198, allocations: 1.98 MB / 1.206 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/1.199, allocations: 0.6427 MB / 1.206 GB, free: 212 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/1.201, allocations: 0.8269 MB / 1.207 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003847/1.205, allocations: 2.124 MB / 1.209 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.205, allocations: 0 / 1.209 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.405e-06/1.205, allocations: 0 / 1.209 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.525e-05/1.205, allocations: 0 / 1.209 GB, free: 14.34 MB / 0.7448 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.004045/1.209, allocations: 1.699 MB / 1.211 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.209, allocations: 11.78 kB / 1.211 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/1.212, allocations: 375.9 kB / 1.211 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/1.215, allocations: 1.082 MB / 1.212 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/1.215, allocations: 108.2 kB / 1.213 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/1.215, allocations: 132.1 kB / 1.213 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/1.219, allocations: 1.574 MB / 1.214 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/1.219, allocations: 4 kB / 1.214 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/1.219, allocations: 56 kB / 1.214 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-05/1.219, allocations: 50.44 kB / 1.214 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/1.222, allocations: 1.274 MB / 1.216 GB, free: 9.348 MB / 0.7448 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.0118/1.234, allocations: 6.503 MB / 1.222 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/1.236, allocations: 0.7807 MB / 1.223 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000853/1.237, allocations: 427.3 kB / 1.223 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009959/1.238, allocations: 433 kB / 1.223 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/1.238, allocations: 43.22 kB / 1.224 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 5.57e-06/1.238, allocations: 0 / 1.224 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.004009/1.242, allocations: 1.537 MB / 1.225 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.242, allocations: 60.06 kB / 1.225 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/1.244, allocations: 1.247 MB / 1.226 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.244, allocations: 49.64 kB / 1.226 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007454/1.245, allocations: 0.7031 MB / 1.227 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/1.245, allocations: 264.2 kB / 1.227 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/1.245, allocations: 16 kB / 1.227 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.246, allocations: 341.9 kB / 1.228 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00079/1.246, allocations: 349.8 kB / 1.228 GB, free: 12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/1.248, allocations: 0.7192 MB / 1.229 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/1.25, allocations: 1.048 MB / 1.23 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/1.25, allocations: 0 / 1.23 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00299/1.253, allocations: 1.243 MB / 1.231 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/1.253, allocations: 15.98 kB / 1.231 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.253, allocations: 8 kB / 1.231 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/1.253, allocations: 130.5 kB / 1.231 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.254, allocations: 207.5 kB / 1.231 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/1.26, allocations: 4.839 MB / 1.236 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/1.262, allocations: 178.7 kB / 1.236 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/1.263, allocations: 47.98 kB / 1.236 GB, free: 2.855 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001169/1.264, allocations: 421.3 kB / 1.237 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/1.264, allocations: 146.2 kB / 1.237 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/1.266, allocations: 1.052 MB / 1.238 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.267, allocations: 11.98 kB / 1.238 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.267, allocations: 0 / 1.238 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001705/1.268, allocations: 0.9348 MB / 1.239 GB, free: 212 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/1.273, allocations: 2.391 MB / 1.241 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.273, allocations: 4 kB / 1.241 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/1.274, allocations: 131.8 kB / 1.241 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003653/1.275, allocations: 130.7 kB / 1.241 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/1.275, allocations: 20 kB / 1.241 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/1.28, allocations: 4.82 MB / 1.246 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.28, allocations: 4.031 kB / 1.246 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/1.283, allocations: 1.524 MB / 1.247 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/1.284, allocations: 327.2 kB / 1.248 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/1.285, allocations: 16 kB / 1.248 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.286, allocations: 65.02 kB / 1.248 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/1.286, allocations: 64.36 kB / 1.248 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.286, allocations: 20 kB / 1.248 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001793/1.288, allocations: 0.8702 MB / 1.249 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.11e-07/1.288, allocations: 0 / 1.249 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002277/1.29, allocations: 447.3 kB / 1.249 GB, free: 4.805 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000689/1.291, allocations: 238.9 kB / 1.249 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002545/1.294, allocations: 1.191 MB / 1.251 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.294, allocations: 0 / 1.251 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.295, allocations: 0.7424 MB / 1.251 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/1.3, allocations: 0.8311 MB / 1.252 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/1.307, allocations: 3.195 MB / 1.255 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.308, allocations: 1.343 MB / 1.257 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002184/1.31, allocations: 348.6 kB / 1.257 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/1.311, allocations: 107.4 kB / 1.257 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of SimCode: time 9.82e-07/1.311, allocations: 0 / 1.257 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of Templates: time 0.06888/1.38, allocations: 29.26 MB / 1.286 GB, free: 15.75 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)