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.9512/0.9512, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001697/0.001697, allocations: 175.9 kB / 182.2 MB, free: 9.469 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.426/1.426, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001099/0.001099, allocations: 92.05 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 291.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.614e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4468, allocations: 82.78 MB / 0.7574 GB, free: 32.06 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.738/5.185, allocations: 1.898 GB / 2.655 GB, free: 161.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/5.185, allocations: 91.83 kB / 2.655 GB, free: 161.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.075/10.26, allocations: 1.28 GB / 3.936 GB, free: 85.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/10.26, allocations: 0 / 3.936 GB, free: 85.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003123/10.26, allocations: 42.95 kB / 3.936 GB, free: 85.1 MB / 0.7136 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.007879/10.27, allocations: 1.824 MB / 3.937 GB, free: 84.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/10.27, allocations: 11.06 kB / 3.937 GB, free: 84.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/10.27, allocations: 379 kB / 3.938 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/10.27, allocations: 1.126 MB / 3.939 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/10.27, allocations: 39.44 kB / 3.939 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004548/10.28, allocations: 83.78 kB / 3.939 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002642/10.28, allocations: 1.107 MB / 3.94 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/10.28, allocations: 1.308 MB / 3.941 GB, free: 83.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/10.28, allocations: 3.062 kB / 3.941 GB, free: 83.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/10.28, allocations: 2.281 kB / 3.941 GB, free: 83.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/10.28, allocations: 52.41 kB / 3.941 GB, free: 83.87 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.007336/10.29, allocations: 6.257 MB / 3.948 GB, free: 80.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009086/10.29, allocations: 0.7209 MB / 3.948 GB, free: 80.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/10.29, allocations: 387.2 kB / 3.949 GB, free: 80.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/10.29, allocations: 415.2 kB / 3.949 GB, free: 80.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/10.29, allocations: 39.84 kB / 3.949 GB, free: 80.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/10.29, allocations: 0 / 3.949 GB, free: 80.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002342/10.29, allocations: 1.009 MB / 3.95 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/10.29, allocations: 60.94 kB / 3.95 GB, free: 79.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009166/10.29, allocations: 0.7286 MB / 3.951 GB, free: 79.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/10.29, allocations: 29.58 kB / 3.951 GB, free: 79.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/10.29, allocations: 0.7101 MB / 3.952 GB, free: 79.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/10.29, allocations: 255.9 kB / 3.952 GB, free: 79.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/10.29, allocations: 0 / 3.952 GB, free: 79.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/10.29, allocations: 345.7 kB / 3.952 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/10.29, allocations: 311.5 kB / 3.952 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/10.3, allocations: 0.6962 MB / 3.953 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/10.3, allocations: 0.5481 MB / 3.954 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/10.3, allocations: 5.906 kB / 3.954 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002042/10.3, allocations: 1.231 MB / 3.955 GB, free: 78.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/10.3, allocations: 15.27 kB / 3.955 GB, free: 78.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/10.3, allocations: 11.91 kB / 3.955 GB, free: 78.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/10.3, allocations: 147 kB / 3.955 GB, free: 78.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/10.3, allocations: 195.6 kB / 3.955 GB, free: 78.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/10.3, allocations: 4.615 MB / 3.96 GB, free: 74.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/10.3, allocations: 122.2 kB / 3.96 GB, free: 74.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/10.3, allocations: 47.56 kB / 3.96 GB, free: 74.62 MB / 0.7136 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 () * 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.0001988/10.3, allocations: 135.2 kB / 3.96 GB, free: 74.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/10.3, allocations: 114.9 kB / 3.96 GB, free: 74.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/10.31, allocations: 1.069 MB / 3.961 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/10.31, allocations: 5.969 kB / 3.961 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/10.31, allocations: 3.688 kB / 3.961 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/10.31, allocations: 0.9725 MB / 3.962 GB, free: 74.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/10.31, allocations: 2.269 MB / 3.964 GB, free: 73.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/10.31, allocations: 3.719 kB / 3.964 GB, free: 73.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/10.31, allocations: 136 kB / 3.964 GB, free: 73.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/10.31, allocations: 132.5 kB / 3.965 GB, free: 73.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/10.31, allocations: 10.59 kB / 3.965 GB, free: 73.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/10.31, allocations: 4.595 MB / 3.969 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/10.31, allocations: 7.656 kB / 3.969 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/10.32, allocations: 1.652 MB / 3.971 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005828/10.32, allocations: 286.3 kB / 3.971 GB, free: 69.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/10.32, allocations: 7.344 kB / 3.971 GB, free: 69.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/10.32, allocations: 52.48 kB / 3.971 GB, free: 69.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/10.32, allocations: 63.56 kB / 3.971 GB, free: 69.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/10.32, allocations: 28.56 kB / 3.971 GB, free: 69.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007605/10.32, allocations: 0.5586 MB / 3.972 GB, free: 69.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/10.32, allocations: 3.406 kB / 3.972 GB, free: 69.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002362/10.32, allocations: 0.6021 MB / 3.972 GB, free: 68.94 MB / 0.7136 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 () * 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.003826/10.33, allocations: 2.679 MB / 3.975 GB, free: 68.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001697/10.33, allocations: 1.106 MB / 3.976 GB, free: 67.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/10.33, allocations: 2.062 kB / 3.976 GB, free: 67.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/10.33, allocations: 0.6879 MB / 3.977 GB, free: 67.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/10.33, allocations: 0.5908 MB / 3.977 GB, free: 67.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/10.33, allocations: 2.027 MB / 3.979 GB, free: 66.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/10.34, allocations: 1.379 MB / 3.981 GB, free: 66.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001129/10.34, allocations: 298.2 kB / 3.981 GB, free: 66.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/10.34, allocations: 98.69 kB / 3.981 GB, free: 66.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/10.34, allocations: 0 / 3.981 GB, free: 66.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.05168/10.39, allocations: 35.04 MB / 4.015 GB, free: 64.2 MB / 0.7136 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)