Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 292.6 MB / 307.8 MB, free: 7.176 MB / 234.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.0009983/0.0009984, allocations: 189 kB / 376.5 MB, free: 4.434 MB / 298.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.462/1.462, allocations: 225.7 MB / 0.655 GB, free: 13.14 MB / 490.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.0008532/0.0008535, allocations: 100.7 kB / 0.7711 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 16 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7126/0.713, allocations: 118.2 MB / 1.012 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2155/0.9286, allocations: 195.5 MB / 1.203 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0407/0.9694, allocations: 19.79 MB / 1.223 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.9724, allocations: 39.25 kB / 1.223 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.9759, allocations: 0.5674 MB / 1.223 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01855/0.9945, allocations: 3.691 MB / 1.227 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005146/0.9997, allocations: 0.7949 MB / 1.228 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01156/1.011, allocations: 4.532 MB / 1.232 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004267/1.016, allocations: 1.265 MB / 1.233 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007477/1.023, allocations: 1.386 MB / 1.235 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007943/1.031, allocations: 1.47 MB / 1.236 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0009502/1.032, allocations: 71 kB / 1.236 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009398/1.042, allocations: 1.979 MB / 1.238 GB, free: 15.88 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003426/1.045, allocations: 0.6453 MB / 1.239 GB, free: 15.69 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004495/1.05, allocations: 0.8248 MB / 1.239 GB, free: 15.23 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007078/1.057, allocations: 2.126 MB / 1.242 GB, free: 14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.057, allocations: 0.75 kB / 1.242 GB, free: 14 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.065e-06/1.057, allocations: 0.8438 kB / 1.242 GB, free: 14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001036/1.057, allocations: 0 / 1.242 GB, free: 14 MB / 0.823 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.00691/1.064, allocations: 1.702 MB / 1.243 GB, free: 12.42 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.064, allocations: 8.031 kB / 1.243 GB, free: 12.41 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/1.068, allocations: 372.8 kB / 1.244 GB, free: 12.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/1.072, allocations: 1.085 MB / 1.245 GB, free: 11.14 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/1.072, allocations: 98.56 kB / 1.245 GB, free: 11.05 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/1.072, allocations: 135.9 kB / 1.245 GB, free: 10.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/1.077, allocations: 1.577 MB / 1.246 GB, free: 9.555 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/1.077, allocations: 0.9375 kB / 1.246 GB, free: 9.555 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/1.077, allocations: 60.8 kB / 1.246 GB, free: 9.496 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.077, allocations: 48.56 kB / 1.247 GB, free: 9.449 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/1.082, allocations: 1.277 MB / 1.248 GB, free: 8.371 MB / 0.823 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.01526/1.097, allocations: 6.502 MB / 1.254 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/1.099, allocations: 0.7803 MB / 1.255 GB, free: 1.414 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.1, allocations: 446.5 kB / 1.255 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.101, allocations: 421 kB / 1.256 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.101, allocations: 41.34 kB / 1.256 GB, free: 456 kB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 5.019e-06/1.101, allocations: 0 / 1.256 GB, free: 456 kB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.005348/1.106, allocations: 1.545 MB / 1.257 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/1.107, allocations: 56.06 kB / 1.257 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/1.11, allocations: 1.255 MB / 1.259 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/1.111, allocations: 41.7 kB / 1.259 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.112, allocations: 0.6953 MB / 1.259 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00064/1.112, allocations: 264.2 kB / 1.26 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/1.113, allocations: 20 kB / 1.26 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002463/1.113, allocations: 350.5 kB / 1.26 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/1.114, allocations: 345.8 kB / 1.26 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/1.116, allocations: 0.7231 MB / 1.261 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/1.118, allocations: 1.047 MB / 1.262 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.118, allocations: 0 / 1.262 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004004/1.122, allocations: 1.245 MB / 1.263 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/1.122, allocations: 8.625 kB / 1.263 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/1.122, allocations: 8.656 kB / 1.263 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/1.123, allocations: 142.4 kB / 1.263 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.124, allocations: 195.7 kB / 1.263 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007026/1.131, allocations: 4.848 MB / 1.268 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.134, allocations: 180.8 kB / 1.268 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/1.135, allocations: 51.92 kB / 1.268 GB, free: 2.645 MB / 0.8386 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.001631/1.136, allocations: 420.4 kB / 1.269 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/1.137, allocations: 138.3 kB / 1.269 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/1.14, allocations: 1.048 MB / 1.27 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.14, allocations: 8 kB / 1.27 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.14, allocations: 1.812 kB / 1.27 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002005/1.142, allocations: 0.9426 MB / 1.271 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/1.149, allocations: 2.387 MB / 1.273 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.149, allocations: 4 kB / 1.273 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.15, allocations: 131.8 kB / 1.273 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/1.15, allocations: 122.8 kB / 1.273 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.151, allocations: 19.98 kB / 1.274 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006713/1.157, allocations: 4.823 MB / 1.278 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.157, allocations: 4 kB / 1.278 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.161, allocations: 1.532 MB / 1.28 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.163, allocations: 315.2 kB / 1.28 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005178/1.163, allocations: 19.98 kB / 1.28 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.165, allocations: 66.03 kB / 1.28 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/1.165, allocations: 57.22 kB / 1.28 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.166, allocations: 35.98 kB / 1.28 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00272/1.168, allocations: 0.8624 MB / 1.281 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.91e-07/1.168, allocations: 0 / 1.281 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003209/1.171, allocations: 447.3 kB / 1.281 GB, free: 4.621 MB / 0.8542 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.001081/1.173, allocations: 254.8 kB / 1.282 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003228/1.176, allocations: 1.187 MB / 1.283 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.176, allocations: 4 kB / 1.283 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.177, allocations: 0.7389 MB / 1.284 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008174/1.186, allocations: 0.8295 MB / 1.284 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/1.193, allocations: 3.195 MB / 1.288 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.195, allocations: 1.352 MB / 1.289 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001775/1.197, allocations: 350.1 kB / 1.289 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/1.197, allocations: 107.4 kB / 1.289 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/1.197, allocations: 0 / 1.289 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.05489/1.252, allocations: 29.28 MB / 1.318 GB, free: 15.85 MB / 0.9011 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)