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.0008394/0.0008394, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005973/0.005973, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 262.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 13 kB / 0.5987 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1873, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6146/0.8019, allocations: 209.5 MB / 0.8898 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.8276, allocations: 21.21 MB / 0.9105 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.8296, allocations: 47.69 kB / 0.9105 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.8317, allocations: 0.6178 MB / 0.9111 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.8419, allocations: 3.989 MB / 0.915 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.8445, allocations: 0.9669 MB / 0.916 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006177/0.8506, allocations: 5.369 MB / 0.9212 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/0.8528, allocations: 1.283 MB / 0.9225 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.8557, allocations: 1.393 MB / 0.9238 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.8587, allocations: 1.537 MB / 0.9253 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.8589, allocations: 76 kB / 0.9254 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004325/0.8632, allocations: 2.084 MB / 0.9274 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007285/0.8639, allocations: 0.6388 MB / 0.928 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.865, allocations: 0.8645 MB / 0.9289 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004245/0.8693, allocations: 2.905 MB / 0.9317 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8693, allocations: 0 / 0.9317 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8693, allocations: 0 / 0.9317 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.022e-05/0.8693, allocations: 0 / 0.9317 GB, free: 3.203 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.002912/0.8723, allocations: 1.719 MB / 0.9334 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.8723, allocations: 12.03 kB / 0.9334 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.8746, allocations: 393.6 kB / 0.9338 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.8764, allocations: 1.101 MB / 0.9349 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.8765, allocations: 106.5 kB / 0.935 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.8767, allocations: 135.9 kB / 0.9351 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.8793, allocations: 1.588 MB / 0.9367 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.8793, allocations: 0 / 0.9367 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.8794, allocations: 56 kB / 0.9367 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-05/0.8795, allocations: 54.44 kB / 0.9368 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.8815, allocations: 1.298 MB / 0.938 GB, free: 12.55 MB / 0.6544 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.00797/0.8895, allocations: 6.485 MB / 0.9444 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.8909, allocations: 0.9497 MB / 0.9453 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/0.8916, allocations: 479.3 kB / 0.9457 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006949/0.8923, allocations: 429 kB / 0.9462 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.8923, allocations: 55.09 kB / 0.9462 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.354e-06/0.8924, allocations: 0 / 0.9462 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005304/0.8977, allocations: 2.94 MB / 0.9491 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.8977, allocations: 60.41 kB / 0.9491 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.8992, allocations: 1.197 MB / 0.9503 GB, free: 15.33 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.8993, allocations: 45.7 kB / 0.9503 GB, free: 15.28 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.8998, allocations: 0.676 MB / 0.951 GB, free: 14.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.9001, allocations: 311.6 kB / 0.9513 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9002, allocations: 81.67 kB / 0.9514 GB, free: 14.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9004, allocations: 353.8 kB / 0.9517 GB, free: 13.85 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.9009, allocations: 373.8 kB / 0.9521 GB, free: 13.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.9018, allocations: 0.7229 MB / 0.9528 GB, free: 12.62 MB / 0.67 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.01219/0.914, allocations: 3.208 MB / 0.9559 GB, free: 9.285 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.9141, allocations: 11.98 kB / 0.9559 GB, free: 9.273 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002079/0.9161, allocations: 1.296 MB / 0.9572 GB, free: 7.961 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.9162, allocations: 8 kB / 0.9572 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.9162, allocations: 8.719 kB / 0.9572 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.9165, allocations: 134.5 kB / 0.9573 GB, free: 7.805 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.9173, allocations: 203.7 kB / 0.9575 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/0.9215, allocations: 4.827 MB / 0.9622 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.923, allocations: 111.7 kB / 0.9623 GB, free: 2.266 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.9231, allocations: 44 kB / 0.9624 GB, free: 2.223 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 sytem: 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.0007983/0.9239, allocations: 426.6 kB / 0.9628 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.9242, allocations: 146.3 kB / 0.9629 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.926, allocations: 1.096 MB / 0.964 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.926, allocations: 8.188 kB / 0.964 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.926, allocations: 0 / 0.964 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/0.9274, allocations: 1.051 MB / 0.965 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00525/0.9327, allocations: 3.132 MB / 0.9681 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.9327, allocations: 8 kB / 0.9681 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007222/0.9334, allocations: 159.7 kB / 0.9683 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002515/0.9337, allocations: 135.2 kB / 0.9684 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.9338, allocations: 27.98 kB / 0.9684 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/0.9379, allocations: 4.808 MB / 0.9731 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.9379, allocations: 11.88 kB / 0.9731 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.9405, allocations: 1.738 MB / 0.9748 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007893/0.9413, allocations: 315.3 kB / 0.9751 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.9415, allocations: 24 kB / 0.9751 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/0.9424, allocations: 95.59 kB / 0.9752 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.9425, allocations: 68.36 kB / 0.9753 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.9426, allocations: 39.98 kB / 0.9753 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001246/0.9439, allocations: 0.8461 MB / 0.9762 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9439, allocations: 0 / 0.9762 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001594/0.9455, allocations: 404 kB / 0.9765 GB, free: 2.895 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.0006404/0.9461, allocations: 249.3 kB / 0.9768 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.9482, allocations: 1.265 MB / 0.978 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.9483, allocations: 4 kB / 0.978 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009242/0.9492, allocations: 0.7883 MB / 0.9788 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/0.9542, allocations: 0.8577 MB / 0.9796 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.9593, allocations: 3.461 MB / 0.983 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.9603, allocations: 1.355 MB / 0.9843 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001407/0.9618, allocations: 348.8 kB / 0.9847 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.962, allocations: 115.4 kB / 0.9848 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of SimCode: time 1.102e-06/0.9621, allocations: 0 / 0.9848 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of Templates: time 0.05065/1.013, allocations: 30.32 MB / 1.014 GB, free: 12.4 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)