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.9194/0.9194, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001122/0.001121, allocations: 184.9 kB / 182.2 MB, free: 9.453 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.588/1.588, 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.000933/0.000933, allocations: 98.83 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001892/0.001892, allocations: 287 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.13e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4504, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.558/5.009, allocations: 1.898 GB / 2.655 GB, free: 121.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/5.009, allocations: 89.7 kB / 2.655 GB, free: 121.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.732/9.741, allocations: 1.28 GB / 3.936 GB, free: 84.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/9.741, allocations: 0 / 3.936 GB, free: 84.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001931/9.741, allocations: 43.48 kB / 3.936 GB, free: 84.4 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.005573/9.747, allocations: 1.821 MB / 3.937 GB, free: 83.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/9.747, allocations: 8.938 kB / 3.938 GB, free: 83.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/9.749, allocations: 369.2 kB / 3.938 GB, free: 83.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/9.752, allocations: 1.132 MB / 3.939 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/9.752, allocations: 43.62 kB / 3.939 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/9.753, allocations: 84.72 kB / 3.939 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001868/9.754, allocations: 1.104 MB / 3.94 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/9.756, allocations: 1.311 MB / 3.941 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/9.756, allocations: 3.562 kB / 3.941 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/9.757, allocations: 8.844 kB / 3.941 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/9.757, allocations: 47.89 kB / 3.941 GB, free: 83.06 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.007167/9.764, allocations: 6.25 MB / 3.948 GB, free: 79.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/9.765, allocations: 0.7198 MB / 3.948 GB, free: 79.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/9.765, allocations: 386.2 kB / 3.949 GB, free: 79.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000567/9.766, allocations: 405.8 kB / 3.949 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/9.766, allocations: 45.72 kB / 3.949 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/9.766, allocations: 2.406 kB / 3.949 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002231/9.768, allocations: 1.002 MB / 3.95 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/9.768, allocations: 62.78 kB / 3.95 GB, free: 79.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009108/9.769, allocations: 0.7361 MB / 3.951 GB, free: 78.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/9.769, allocations: 25.7 kB / 3.951 GB, free: 78.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/9.77, allocations: 0.7102 MB / 3.952 GB, free: 78.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/9.77, allocations: 251.6 kB / 3.952 GB, free: 78.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/9.77, allocations: 0 / 3.952 GB, free: 78.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/9.77, allocations: 346.2 kB / 3.952 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/9.77, allocations: 317.3 kB / 3.952 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/9.771, allocations: 0.6962 MB / 3.953 GB, free: 77.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/9.772, allocations: 0.542 MB / 3.954 GB, free: 77.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/9.772, allocations: 3.562 kB / 3.954 GB, free: 77.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002324/9.774, allocations: 1.234 MB / 3.955 GB, free: 77.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/9.774, allocations: 11.12 kB / 3.955 GB, free: 77.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/9.774, allocations: 11.59 kB / 3.955 GB, free: 77.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/9.775, allocations: 147.6 kB / 3.955 GB, free: 77.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/9.776, allocations: 193.9 kB / 3.955 GB, free: 77.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/9.779, allocations: 4.614 MB / 3.96 GB, free: 73.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/9.781, allocations: 123.3 kB / 3.96 GB, free: 73.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/9.781, allocations: 49.09 kB / 3.96 GB, free: 73.73 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.0002287/9.781, allocations: 136.9 kB / 3.96 GB, free: 73.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/9.781, allocations: 116.1 kB / 3.96 GB, free: 73.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/9.783, allocations: 1.068 MB / 3.961 GB, free: 73.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/9.783, allocations: 9.453 kB / 3.961 GB, free: 73.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/9.783, allocations: 0 / 3.961 GB, free: 73.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/9.784, allocations: 0.9721 MB / 3.962 GB, free: 73.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/9.788, allocations: 2.279 MB / 3.964 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/9.788, allocations: 1.844 kB / 3.964 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/9.789, allocations: 133.7 kB / 3.964 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003342/9.789, allocations: 132.2 kB / 3.965 GB, free: 72.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/9.789, allocations: 18.95 kB / 3.965 GB, free: 72.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/9.792, allocations: 4.595 MB / 3.969 GB, free: 68.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/9.792, allocations: 10.98 kB / 3.969 GB, free: 68.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/9.795, allocations: 1.643 MB / 3.971 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/9.795, allocations: 286 kB / 3.971 GB, free: 68.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/9.796, allocations: 10.84 kB / 3.971 GB, free: 68.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009972/9.797, allocations: 45.97 kB / 3.971 GB, free: 68.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/9.797, allocations: 64.53 kB / 3.971 GB, free: 68.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/9.797, allocations: 22.38 kB / 3.971 GB, free: 68.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00108/9.798, allocations: 0.5609 MB / 3.972 GB, free: 68.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.084e-06/9.798, allocations: 0 / 3.972 GB, free: 68.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003647/9.802, allocations: 0.6078 MB / 3.972 GB, free: 68.06 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.005907/9.808, allocations: 2.682 MB / 3.975 GB, free: 67.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00221/9.81, allocations: 1.11 MB / 3.976 GB, free: 66.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/9.81, allocations: 3.656 kB / 3.976 GB, free: 66.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008226/9.811, allocations: 0.6893 MB / 3.977 GB, free: 66.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/9.814, allocations: 0.5847 MB / 3.977 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/9.818, allocations: 2.03 MB / 3.979 GB, free: 65.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/9.819, allocations: 1.376 MB / 3.981 GB, free: 65.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001347/9.821, allocations: 298.8 kB / 3.981 GB, free: 65.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/9.821, allocations: 93.06 kB / 3.981 GB, free: 65.17 MB / 0.7136 GB Notification: Performance of SimCode: time 1.843e-06/9.821, allocations: 0 / 3.981 GB, free: 65.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.05033/9.871, allocations: 35.05 MB / 4.015 GB, free: 63 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)