Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 255.9 MB / 271.2 MB, free: 8.922 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 182.6 kB / 330.8 MB, free: 492 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 225.7 MB / 0.6016 GB, free: 1.594 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008148, allocations: 103.8 kB / 0.709 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2389, allocations: 109.2 MB / 0.9327 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7684/1.007, allocations: 208.2 MB / 1.136 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03024/1.038, allocations: 26.04 MB / 1.162 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/1.04, allocations: 43.69 kB / 1.162 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/1.043, allocations: 0.6177 MB / 1.162 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01461/1.057, allocations: 3.987 MB / 1.166 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004203/1.061, allocations: 0.995 MB / 1.167 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009602/1.071, allocations: 5.468 MB / 1.172 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/1.074, allocations: 1.295 MB / 1.174 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004052/1.078, allocations: 1.471 MB / 1.175 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004362/1.082, allocations: 1.53 MB / 1.177 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005847/1.083, allocations: 72 kB / 1.177 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005/1.088, allocations: 1.995 MB / 1.179 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/1.089, allocations: 0.6504 MB / 1.179 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002797/1.092, allocations: 0.8763 MB / 1.18 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/1.099, allocations: 2.912 MB / 1.183 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/1.099, allocations: 4 kB / 1.183 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.154e-06/1.099, allocations: 0 / 1.183 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001257/1.1, allocations: 0 / 1.183 GB, free: 3.496 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004753/1.104, allocations: 1.699 MB / 1.185 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/1.104, allocations: 15.97 kB / 1.185 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/1.107, allocations: 369.6 kB / 1.185 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/1.11, allocations: 1.085 MB / 1.186 GB, free: 240 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/1.11, allocations: 102.5 kB / 1.186 GB, free: 136 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/1.111, allocations: 136 kB / 1.186 GB, free: 0 / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/1.115, allocations: 1.591 MB / 1.188 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/1.115, allocations: 7.938 kB / 1.188 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/1.115, allocations: 60 kB / 1.188 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/1.115, allocations: 46.48 kB / 1.188 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/1.118, allocations: 1.282 MB / 1.189 GB, free: 12.93 MB / 0.7605 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.01189/1.13, allocations: 6.518 MB / 1.196 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/1.131, allocations: 0.764 MB / 1.196 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/1.131, allocations: 432.5 kB / 1.197 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007927/1.132, allocations: 425.5 kB / 1.197 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/1.132, allocations: 43.22 kB / 1.197 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=73): time 3.076e-06/1.132, allocations: 0 / 1.197 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73): time 0.003215/1.136, allocations: 1.529 MB / 1.199 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.136, allocations: 60.06 kB / 1.199 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.138, allocations: 1.246 MB / 1.2 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/1.138, allocations: 45.7 kB / 1.2 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007013/1.139, allocations: 0.6952 MB / 1.201 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/1.139, allocations: 264.2 kB / 1.201 GB, free: 304 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/1.139, allocations: 16 kB / 1.201 GB, free: 288 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.139, allocations: 345.9 kB / 1.201 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/1.14, allocations: 341.8 kB / 1.202 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/1.141, allocations: 0.6933 MB / 1.202 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/1.142, allocations: 1.038 MB / 1.203 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.142, allocations: 0 / 1.203 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002243/1.144, allocations: 1.24 MB / 1.204 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.144, allocations: 12.8 kB / 1.204 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.145, allocations: 8 kB / 1.204 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/1.145, allocations: 142.4 kB / 1.205 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/1.146, allocations: 199.7 kB / 1.205 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/1.15, allocations: 4.836 MB / 1.21 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.152, allocations: 203.4 kB / 1.21 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.152, allocations: 44 kB / 1.21 GB, free: 6.5 MB / 0.7761 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.000895/1.153, allocations: 425.4 kB / 1.21 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/1.153, allocations: 142.3 kB / 1.21 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/1.155, allocations: 1.048 MB / 1.211 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.155, allocations: 8 kB / 1.211 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.155, allocations: 0 / 1.211 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/1.156, allocations: 0.9231 MB / 1.212 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/1.161, allocations: 2.387 MB / 1.215 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.161, allocations: 4 kB / 1.215 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/1.161, allocations: 127.9 kB / 1.215 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/1.162, allocations: 134.4 kB / 1.215 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/1.162, allocations: 16 kB / 1.215 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004528/1.166, allocations: 4.828 MB / 1.22 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.166, allocations: 4 kB / 1.22 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/1.169, allocations: 1.508 MB / 1.221 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008782/1.17, allocations: 327.1 kB / 1.221 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.17, allocations: 24 kB / 1.221 GB, free: 9.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.171, allocations: 66.12 kB / 1.221 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.171, allocations: 60.38 kB / 1.221 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/1.171, allocations: 23.98 kB / 1.221 GB, free: 9.785 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001526/1.173, allocations: 0.87 MB / 1.222 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/1.173, allocations: 4 kB / 1.222 GB, free: 8.91 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001805/1.175, allocations: 455.3 kB / 1.223 GB, free: 8.465 MB / 0.7917 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.0006556/1.175, allocations: 247.1 kB / 1.223 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.177, allocations: 1.186 MB / 1.224 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.177, allocations: 4 kB / 1.224 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009202/1.178, allocations: 0.7346 MB / 1.225 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/1.183, allocations: 0.8354 MB / 1.226 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/1.188, allocations: 3.305 MB / 1.229 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/1.189, allocations: 1.355 MB / 1.23 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001525/1.191, allocations: 344.5 kB / 1.231 GB, free: 324 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.191, allocations: 107.4 kB / 1.231 GB, free: 216 kB / 0.7917 GB Notification: Performance of SimCode: time 7.21e-07/1.191, allocations: 0 / 1.231 GB, free: 216 kB / 0.7917 GB Notification: Performance of Templates: time 0.05592/1.247, allocations: 29.66 MB / 1.26 GB, free: 2.961 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)