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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 143.4 MB / 158.3 MB, free: 5.754 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.001238/0.001239, allocations: 175 kB / 191.5 MB, free: 5.766 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.582/1.582, allocations: 223.1 MB / 447.7 MB, free: 4.805 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.001008/0.001008, allocations: 92.33 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001818, allocations: 274.5 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004624, allocations: 14.11 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 82.8 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.316/5.522, allocations: 1.899 GB / 2.673 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/5.523, allocations: 91.05 kB / 2.673 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.994/11.52, allocations: 1.295 GB / 3.968 GB, free: 87.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.905e-06/11.52, allocations: 0 / 3.968 GB, free: 87.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002868/11.52, allocations: 44.53 kB / 3.968 GB, free: 87.9 MB / 0.7292 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.009232/11.53, allocations: 2.051 MB / 3.97 GB, free: 87.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/11.53, allocations: 7.656 kB / 3.97 GB, free: 87.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001266/11.53, allocations: 195.4 kB / 3.97 GB, free: 87.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/11.53, allocations: 376.8 kB / 3.97 GB, free: 87.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/11.54, allocations: 1.127 MB / 3.972 GB, free: 86.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/11.54, allocations: 109.7 kB / 3.972 GB, free: 86.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007313/11.54, allocations: 134.9 kB / 3.972 GB, free: 86.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004596/11.54, allocations: 1.518 MB / 3.973 GB, free: 86.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/11.54, allocations: 0 / 3.973 GB, free: 86.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/11.54, allocations: 54.22 kB / 3.973 GB, free: 86.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.511e-05/11.54, allocations: 48.42 kB / 3.973 GB, free: 86.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/11.55, allocations: 1.219 MB / 3.975 GB, free: 86.54 MB / 0.7292 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.01145/11.56, allocations: 6.565 MB / 3.981 GB, free: 83.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/11.56, allocations: 0.7637 MB / 3.982 GB, free: 83.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007121/11.56, allocations: 410 kB / 3.982 GB, free: 82.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/11.56, allocations: 43.86 kB / 3.982 GB, free: 82.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.557e-06/11.56, allocations: 2.344 kB / 3.982 GB, free: 82.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.003343/11.56, allocations: 1.507 MB / 3.984 GB, free: 82.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/11.56, allocations: 61.31 kB / 3.984 GB, free: 82.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/11.56, allocations: 1.099 MB / 3.985 GB, free: 82.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/11.57, allocations: 45.77 kB / 3.985 GB, free: 82.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007261/11.57, allocations: 0.7005 MB / 3.985 GB, free: 81.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/11.57, allocations: 262.8 kB / 3.986 GB, free: 81.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/11.57, allocations: 17.94 kB / 3.986 GB, free: 81.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001536/11.57, allocations: 347.7 kB / 3.986 GB, free: 81.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/11.57, allocations: 339.5 kB / 3.986 GB, free: 81.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/11.57, allocations: 0.7292 MB / 3.987 GB, free: 80.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/11.57, allocations: 466.9 kB / 3.988 GB, free: 80.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/11.57, allocations: 3.781 kB / 3.988 GB, free: 80.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00229/11.57, allocations: 1.241 MB / 3.989 GB, free: 80.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/11.57, allocations: 9.281 kB / 3.989 GB, free: 80.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/11.57, allocations: 7.656 kB / 3.989 GB, free: 80.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/11.57, allocations: 138 kB / 3.989 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008116/11.57, allocations: 198.7 kB / 3.989 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/11.58, allocations: 4.83 MB / 3.994 GB, free: 76.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/11.58, allocations: 190.7 kB / 3.994 GB, free: 76.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/11.58, allocations: 43.25 kB / 3.994 GB, free: 76.74 MB / 0.7292 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 (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.001223/11.58, allocations: 419.1 kB / 3.994 GB, free: 76.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/11.58, allocations: 149.2 kB / 3.995 GB, free: 76.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/11.58, allocations: 1.047 MB / 3.996 GB, free: 76.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/11.58, allocations: 10.14 kB / 3.996 GB, free: 76.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/11.58, allocations: 2.062 kB / 3.996 GB, free: 76.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/11.58, allocations: 0.9255 MB / 3.996 GB, free: 76.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/11.59, allocations: 2.37 MB / 3.999 GB, free: 75.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/11.59, allocations: 9.438 kB / 3.999 GB, free: 75.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/11.59, allocations: 126.9 kB / 3.999 GB, free: 75.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/11.59, allocations: 122.5 kB / 3.999 GB, free: 75.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/11.59, allocations: 23.27 kB / 3.999 GB, free: 75.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/11.59, allocations: 4.808 MB / 4.004 GB, free: 71.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/11.59, allocations: 9.656 kB / 4.004 GB, free: 71.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/11.6, allocations: 1.657 MB / 4.005 GB, free: 71.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/11.6, allocations: 315.7 kB / 4.006 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/11.6, allocations: 17.12 kB / 4.006 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/11.6, allocations: 60.22 kB / 4.006 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/11.6, allocations: 59.58 kB / 4.006 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/11.6, allocations: 25.84 kB / 4.006 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002642/11.6, allocations: 0.8687 MB / 4.007 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.31e-07/11.6, allocations: 0 / 4.007 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004615/11.61, allocations: 0.6698 MB / 4.007 GB, free: 70.79 MB / 0.7292 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 (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.009274/11.62, allocations: 5.187 MB / 4.012 GB, free: 68.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003171/11.62, allocations: 1.19 MB / 4.014 GB, free: 67.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/11.62, allocations: 3.938 kB / 4.014 GB, free: 67.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/11.62, allocations: 0.7231 MB / 4.014 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005654/11.63, allocations: 0.8306 MB / 4.015 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/11.65, allocations: 14.65 MB / 4.029 GB, free: 58.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/11.65, allocations: 1.376 MB / 4.031 GB, free: 57.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002022/11.65, allocations: 350 kB / 4.031 GB, free: 57.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/11.65, allocations: 0.5353 MB / 4.032 GB, free: 57.87 MB / 0.7292 GB Notification: Performance of SimCode: time 1.583e-06/11.65, allocations: 0 / 4.032 GB, free: 57.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/11.8, allocations: 76.88 MB / 4.107 GB, free: 52.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/11.8, allocations: 234.4 kB / 4.107 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.13/16.93, allocations: 0 / 4.107 GB, free: 52.18 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)