Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 190.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002259/0.002259, allocations: 282.8 kB / 290.4 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9866/0.9866, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 92.97 kB / 0.5947 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1589, allocations: 86.98 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6146/0.7735, allocations: 211.9 MB / 0.8866 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02447/0.798, allocations: 21.19 MB / 0.9073 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.8002, allocations: 47.19 kB / 0.9073 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.8023, allocations: 0.6409 MB / 0.9079 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.8125, allocations: 3.995 MB / 0.9118 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.8154, allocations: 0.9706 MB / 0.9128 GB, free: 9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004622/0.82, allocations: 3.922 MB / 0.9166 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.8219, allocations: 1.504 MB / 0.9181 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.8252, allocations: 1.635 MB / 0.9197 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.8282, allocations: 1.657 MB / 0.9213 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.8284, allocations: 168 kB / 0.9215 GB, free: 76 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.832, allocations: 1.913 MB / 0.9233 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007406/0.8328, allocations: 0.7442 MB / 0.9241 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.834, allocations: 0.9566 MB / 0.925 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.8381, allocations: 3.026 MB / 0.9279 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8381, allocations: 0 / 0.9279 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8381, allocations: 0 / 0.9279 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.8381, allocations: 0 / 0.9279 GB, free: 9.414 MB / 0.6387 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.0034/0.8415, allocations: 2.05 MB / 0.9299 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8416, allocations: 8.031 kB / 0.93 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.8437, allocations: 405.5 kB / 0.9303 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.8455, allocations: 1.093 MB / 0.9314 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.8455, allocations: 98.56 kB / 0.9315 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.8457, allocations: 132 kB / 0.9316 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.8481, allocations: 1.596 MB / 0.9332 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.8481, allocations: 0 / 0.9332 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.8483, allocations: 52 kB / 0.9332 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.093e-05/0.8483, allocations: 50.45 kB / 0.9333 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.8503, allocations: 1.294 MB / 0.9345 GB, free: 2.453 MB / 0.6387 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.008625/0.8589, allocations: 6.484 MB / 0.9409 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.8604, allocations: 0.9458 MB / 0.9418 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.8611, allocations: 486.5 kB / 0.9423 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007339/0.8619, allocations: 413 kB / 0.9427 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.8619, allocations: 43.22 kB / 0.9427 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.246e-06/0.8619, allocations: 0 / 0.9427 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.006022/0.8679, allocations: 2.949 MB / 0.9456 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.868, allocations: 60.41 kB / 0.9456 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.8697, allocations: 1.201 MB / 0.9468 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/0.8698, allocations: 45.7 kB / 0.9469 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/0.8705, allocations: 0.6721 MB / 0.9475 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.8708, allocations: 303.6 kB / 0.9478 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.8712, allocations: 194.5 kB / 0.948 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.8713, allocations: 349.9 kB / 0.9483 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.8719, allocations: 377.8 kB / 0.9487 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.8728, allocations: 0.7191 MB / 0.9494 GB, free: 2.426 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.8845, allocations: 2.931 MB / 0.9522 GB, free: 15.37 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.8845, allocations: 0 / 0.9522 GB, free: 15.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002224/0.8867, allocations: 1.302 MB / 0.9535 GB, free: 14.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.8868, allocations: 8 kB / 0.9535 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.8868, allocations: 11.98 kB / 0.9535 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.8871, allocations: 134.9 kB / 0.9537 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.8879, allocations: 207.7 kB / 0.9539 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.8924, allocations: 5.368 MB / 0.9591 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.8938, allocations: 111.7 kB / 0.9592 GB, free: 7.801 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.8939, allocations: 44 kB / 0.9593 GB, free: 7.758 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * 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.0008292/0.8948, allocations: 430 kB / 0.9597 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.8951, allocations: 150.4 kB / 0.9598 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.8969, allocations: 1.096 MB / 0.9609 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.897, allocations: 8 kB / 0.9609 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.897, allocations: 3.938 kB / 0.9609 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/0.8983, allocations: 1.062 MB / 0.9619 GB, free: 4.938 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.9037, allocations: 3.082 MB / 0.9649 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.9037, allocations: 8 kB / 0.9649 GB, free: 1.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.9045, allocations: 159.8 kB / 0.9651 GB, free: 1.488 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/0.9047, allocations: 127 kB / 0.9652 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.9048, allocations: 27.98 kB / 0.9652 GB, free: 1.328 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004263/0.9091, allocations: 5.359 MB / 0.9705 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-05/0.9091, allocations: 11.98 kB / 0.9705 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.9115, allocations: 1.746 MB / 0.9722 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.9122, allocations: 319.2 kB / 0.9725 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.9125, allocations: 20 kB / 0.9725 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.9137, allocations: 75.88 kB / 0.9726 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.9138, allocations: 80.3 kB / 0.9727 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.9139, allocations: 40.11 kB / 0.9727 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001316/0.9152, allocations: 0.8421 MB / 0.9735 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9152, allocations: 0 / 0.9735 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001843/0.9171, allocations: 412 kB / 0.9739 GB, free: 7.902 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.0006966/0.9178, allocations: 249 kB / 0.9742 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.9202, allocations: 1.453 MB / 0.9756 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.9202, allocations: 0 / 0.9756 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009071/0.9211, allocations: 0.7932 MB / 0.9764 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/0.9251, allocations: 0.8932 MB / 0.9772 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007497/0.9326, allocations: 3.384 MB / 0.9805 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/0.9346, allocations: 1.359 MB / 0.9819 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001677/0.9363, allocations: 348.8 kB / 0.9822 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.9368, allocations: 115.4 kB / 0.9823 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of SimCode: time 8.11e-07/0.9368, allocations: 4 kB / 0.9823 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of Templates: time 0.05431/0.9911, allocations: 31.66 MB / 1.013 GB, free: 15.96 MB / 0.7325 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)