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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8047/0.8047, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001104, allocations: 176.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001011, allocations: 111.1 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 280 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 75.89 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3599, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5175/0.8775, allocations: 212.4 MB / 0.9753 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.9026, allocations: 21.46 MB / 0.9963 GB, free: 9.664 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.9048, allocations: 48.53 kB / 0.9963 GB, free: 9.641 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.9067, allocations: 0.6127 MB / 0.9969 GB, free: 9.184 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.9168, allocations: 3.978 MB / 1.001 GB, free: 6.84 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.9196, allocations: 0.9577 MB / 1.002 GB, free: 6.203 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00588/0.9255, allocations: 5.358 MB / 1.007 GB, free: 3.461 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.9277, allocations: 1.332 MB / 1.008 GB, free: 2.684 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.9311, allocations: 1.455 MB / 1.01 GB, free: 1.414 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/0.9346, allocations: 1.585 MB / 1.011 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.9349, allocations: 88 kB / 1.011 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.9391, allocations: 2.036 MB / 1.013 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008048/0.9399, allocations: 0.6823 MB / 1.014 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.9412, allocations: 0.8645 MB / 1.015 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.945, allocations: 2.919 MB / 1.018 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.945, allocations: 0 / 1.018 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.01e-07/0.945, allocations: 0 / 1.018 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.945, allocations: 0 / 1.018 GB, free: 9.719 MB / 0.5886 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.002903/0.9479, allocations: 2.03 MB / 1.02 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.948, allocations: 12.03 kB / 1.02 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.9498, allocations: 376.2 kB / 1.02 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.9516, allocations: 1.081 MB / 1.021 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.9517, allocations: 102.6 kB / 1.021 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.9519, allocations: 139.4 kB / 1.021 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.9544, allocations: 1.59 MB / 1.023 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.9544, allocations: 4 kB / 1.023 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.9545, allocations: 52 kB / 1.023 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.9546, allocations: 50.45 kB / 1.023 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.9566, allocations: 1.29 MB / 1.024 GB, free: 2.859 MB / 0.5886 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.007646/0.9643, allocations: 6.494 MB / 1.031 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.9654, allocations: 0.7802 MB / 1.031 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.9659, allocations: 433.2 kB / 1.032 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/0.9666, allocations: 417.2 kB / 1.032 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.9666, allocations: 39.22 kB / 1.032 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/0.9667, allocations: 0 / 1.032 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.002683/0.9693, allocations: 1.544 MB / 1.034 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.9694, allocations: 60.05 kB / 1.034 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.9708, allocations: 1.266 MB / 1.035 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.9709, allocations: 41.7 kB / 1.035 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.9714, allocations: 0.6984 MB / 1.036 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.9716, allocations: 261.9 kB / 1.036 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.9719, allocations: 190.5 kB / 1.036 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.972, allocations: 353.9 kB / 1.036 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.9725, allocations: 345.8 kB / 1.037 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.9733, allocations: 0.7296 MB / 1.038 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.9745, allocations: 1.045 MB / 1.039 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.9745, allocations: 4 kB / 1.039 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001812/0.9763, allocations: 1.25 MB / 1.04 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.9764, allocations: 8 kB / 1.04 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.9764, allocations: 8 kB / 1.04 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.9767, allocations: 139.2 kB / 1.04 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.9774, allocations: 199.7 kB / 1.04 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.9812, allocations: 4.839 MB / 1.045 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.9827, allocations: 190.4 kB / 1.045 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.9828, allocations: 44 kB / 1.045 GB, free: 12.27 MB / 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.0007396/0.9836, allocations: 429.3 kB / 1.045 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.984, allocations: 138.5 kB / 1.046 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.9857, allocations: 1.064 MB / 1.047 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9858, allocations: 8 kB / 1.047 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.9858, allocations: 0 / 1.047 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.9869, allocations: 0.9348 MB / 1.048 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.9906, allocations: 2.399 MB / 1.05 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9907, allocations: 4 kB / 1.05 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.9913, allocations: 135.8 kB / 1.05 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.9916, allocations: 122.5 kB / 1.05 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.9916, allocations: 19.94 kB / 1.05 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.9953, allocations: 4.826 MB / 1.055 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9953, allocations: 4 kB / 1.055 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.006, allocations: 5.668 MB / 1.06 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000702/1.006, allocations: 319.2 kB / 1.061 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/1.007, allocations: 16 kB / 1.061 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009022/1.008, allocations: 65.67 kB / 1.061 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.008, allocations: 56.42 kB / 1.061 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/1.008, allocations: 28 kB / 1.061 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001228/1.009, allocations: 0.878 MB / 1.062 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.009, allocations: 0 / 1.062 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00214/1.011, allocations: 0.6087 MB / 1.062 GB, free: 9.773 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.000564/1.012, allocations: 235.7 kB / 1.063 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.014, allocations: 1.205 MB / 1.064 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.014, allocations: 4 kB / 1.064 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008244/1.014, allocations: 0.7387 MB / 1.064 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.018, allocations: 0.8293 MB / 1.065 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/1.024, allocations: 3.64 MB / 1.069 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.025, allocations: 1.376 MB / 1.07 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001497/1.026, allocations: 356.6 kB / 1.071 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/1.027, allocations: 111.4 kB / 1.071 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/1.027, allocations: 0 / 1.071 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of Templates: time 0.04876/1.076, allocations: 31.52 MB / 1.101 GB, free: 2.039 MB / 0.6667 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)