Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7636/0.7636, allocations: 143.8 MB / 159.1 MB, free: 6.504 MB / 122.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.001295/0.001295, allocations: 179.3 kB / 192 MB, free: 6.723 MB / 154.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.407/1.407, allocations: 225.7 MB / 450.4 MB, free: 4.941 MB / 330.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.0007586/0.0007587, allocations: 111.5 kB / 0.5211 GB, free: 1.598 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 283.5 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.000444, allocations: 14.59 kB / 0.6948 GB, free: 59.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1608, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6143/0.7751, allocations: 207.9 MB / 0.9783 GB, free: 9.066 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.8012, allocations: 25.88 MB / 1.004 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.8035, allocations: 41.19 kB / 1.004 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.8054, allocations: 0.6212 MB / 1.004 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.8163, allocations: 3.98 MB / 1.008 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.8191, allocations: 0.9527 MB / 1.009 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005947/0.8251, allocations: 5.335 MB / 1.014 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.8273, allocations: 1.279 MB / 1.016 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.8305, allocations: 1.434 MB / 1.017 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.8344, allocations: 1.532 MB / 1.018 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.835, allocations: 72 kB / 1.018 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.8399, allocations: 1.988 MB / 1.02 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.841, allocations: 0.6358 MB / 1.021 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.8432, allocations: 0.8602 MB / 1.022 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.8489, allocations: 2.88 MB / 1.025 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.8489, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8489, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000122/0.849, allocations: 4 kB / 1.025 GB, free: 13.31 MB / 0.6042 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.004265/0.8533, allocations: 1.699 MB / 1.026 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8534, allocations: 12.03 kB / 1.026 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.8556, allocations: 377.6 kB / 1.027 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.8581, allocations: 1.089 MB / 1.028 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.644e-05/0.8583, allocations: 98.56 kB / 1.028 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.8586, allocations: 135.9 kB / 1.028 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.8614, allocations: 1.575 MB / 1.03 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.8615, allocations: 0 / 1.03 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.8616, allocations: 52 kB / 1.03 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/0.8617, allocations: 46.45 kB / 1.03 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.8636, allocations: 1.282 MB / 1.031 GB, free: 6.773 MB / 0.6042 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.007645/0.8713, allocations: 6.507 MB / 1.037 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.8724, allocations: 0.7841 MB / 1.038 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.873, allocations: 427.1 kB / 1.038 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007203/0.8737, allocations: 425.5 kB / 1.039 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.8738, allocations: 43.2 kB / 1.039 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/0.8738, allocations: 0 / 1.039 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73): time 0.002648/0.8764, allocations: 1.541 MB / 1.04 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.8765, allocations: 60.06 kB / 1.04 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.878, allocations: 1.251 MB / 1.042 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.8781, allocations: 45.7 kB / 1.042 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.8786, allocations: 0.6915 MB / 1.042 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.8789, allocations: 264.2 kB / 1.043 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.8789, allocations: 16 kB / 1.043 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8791, allocations: 353.9 kB / 1.043 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.8796, allocations: 341.8 kB / 1.043 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.8804, allocations: 0.7231 MB / 1.044 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.8816, allocations: 1.043 MB / 1.045 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8817, allocations: 4 kB / 1.045 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001805/0.8835, allocations: 1.244 MB / 1.046 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.8835, allocations: 8 kB / 1.046 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8835, allocations: 12 kB / 1.046 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.8838, allocations: 135.2 kB / 1.046 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.8846, allocations: 203.7 kB / 1.047 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/0.8885, allocations: 4.839 MB / 1.051 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.8897, allocations: 184 kB / 1.051 GB, free: 332 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.8898, allocations: 44 kB / 1.052 GB, free: 288 kB / 0.6198 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.0006526/0.8905, allocations: 429.2 kB / 1.052 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.8907, allocations: 150.2 kB / 1.052 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.8922, allocations: 1.052 MB / 1.053 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.8922, allocations: 4 kB / 1.053 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.8922, allocations: 0 / 1.053 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.8934, allocations: 0.9348 MB / 1.054 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.8968, allocations: 2.396 MB / 1.056 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8968, allocations: 4.062 kB / 1.056 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.8974, allocations: 135.8 kB / 1.057 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.8976, allocations: 118.5 kB / 1.057 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.8977, allocations: 19.98 kB / 1.057 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.9014, allocations: 4.817 MB / 1.061 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9014, allocations: 4.125 kB / 1.061 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.9033, allocations: 1.535 MB / 1.063 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.9039, allocations: 311.2 kB / 1.063 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.9041, allocations: 20 kB / 1.063 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007759/0.9048, allocations: 71.78 kB / 1.063 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.905, allocations: 56.38 kB / 1.063 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.905, allocations: 27.98 kB / 1.063 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001116/0.9062, allocations: 0.8624 MB / 1.064 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9062, allocations: 0 / 1.064 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001594/0.9078, allocations: 447.3 kB / 1.065 GB, free: 2.238 MB / 0.6355 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.0006243/0.9084, allocations: 263.7 kB / 1.065 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.9102, allocations: 1.199 MB / 1.066 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9102, allocations: 0 / 1.066 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008502/0.9111, allocations: 0.7295 MB / 1.067 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/0.9147, allocations: 0.8442 MB / 1.068 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.9188, allocations: 3.286 MB / 1.071 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009196/0.9198, allocations: 1.343 MB / 1.072 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00124/0.921, allocations: 356.6 kB / 1.072 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.9213, allocations: 107.4 kB / 1.072 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of SimCode: time 6.01e-07/0.9213, allocations: 0 / 1.072 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of Templates: time 0.05419/0.9755, allocations: 29.67 MB / 1.101 GB, free: 12.7 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)