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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004872/0.004872, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001384/0.001384, allocations: 184.8 kB / 16.67 MB, free: 5.926 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 283.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9949/0.9949, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002645/0.002645, allocations: 107.9 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1864, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5647/0.7512, allocations: 214.6 MB / 0.9755 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02604/0.7773, allocations: 21.36 MB / 0.9964 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.7788, allocations: 51.69 kB / 0.9964 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.7807, allocations: 0.7297 MB / 0.9971 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009618/0.7904, allocations: 4.259 MB / 1.001 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.7932, allocations: 1.056 MB / 1.002 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005194/0.7984, allocations: 3.917 MB / 1.006 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.8006, allocations: 1.566 MB / 1.008 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.804, allocations: 1.623 MB / 1.009 GB, free: 9.664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.8075, allocations: 1.544 MB / 1.011 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.8078, allocations: 164 kB / 1.011 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.8121, allocations: 1.832 MB / 1.013 GB, free: 6.125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008963/0.813, allocations: 0.7481 MB / 1.013 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.8144, allocations: 0.9527 MB / 1.014 GB, free: 4.418 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005711/0.8201, allocations: 2.947 MB / 1.017 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.8202, allocations: 3.984 kB / 1.017 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8202, allocations: 0 / 1.017 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.84e-05/0.8202, allocations: 0 / 1.017 GB, free: 1.457 MB / 0.7637 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.003316/0.8235, allocations: 2.09 MB / 1.019 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.8236, allocations: 8.031 kB / 1.019 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002417/0.8238, allocations: 206.1 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.826, allocations: 398.6 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.8279, allocations: 1.164 MB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.828, allocations: 102.5 kB / 1.021 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.8283, allocations: 135.9 kB / 1.021 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.8306, allocations: 1.583 MB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.8307, allocations: 3.984 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.8308, allocations: 55.94 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/0.8309, allocations: 46.45 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.8329, allocations: 1.298 MB / 1.024 GB, free: 10.18 MB / 0.7794 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.007797/0.8407, allocations: 6.502 MB / 1.031 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.8422, allocations: 0.9457 MB / 1.031 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.8429, allocations: 482.5 kB / 1.032 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/0.8437, allocations: 417 kB / 1.032 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.8437, allocations: 39.22 kB / 1.032 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=82): time 2.294e-06/0.8437, allocations: 4 kB / 1.032 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=84): time 0.005124/0.8489, allocations: 2.97 MB / 1.035 GB, free: 14.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.8489, allocations: 64.34 kB / 1.035 GB, free: 14.13 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.8504, allocations: 1.197 MB / 1.036 GB, free: 12.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.8505, allocations: 45.7 kB / 1.037 GB, free: 12.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/0.8511, allocations: 0.6891 MB / 1.037 GB, free: 12.17 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.8514, allocations: 317.2 kB / 1.037 GB, free: 11.86 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.8517, allocations: 198.6 kB / 1.038 GB, free: 11.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.8519, allocations: 349.7 kB / 1.038 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.8525, allocations: 377.8 kB / 1.038 GB, free: 10.94 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009104/0.8534, allocations: 0.7159 MB / 1.039 GB, free: 10.08 MB / 0.795 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.01207/0.8655, allocations: 2.918 MB / 1.042 GB, free: 7.043 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.8655, allocations: 4 kB / 1.042 GB, free: 7.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002193/0.8677, allocations: 1.306 MB / 1.043 GB, free: 5.715 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.8677, allocations: 8 kB / 1.043 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.8677, allocations: 8 kB / 1.043 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.868, allocations: 134.4 kB / 1.043 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.8688, allocations: 208.6 kB / 1.044 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/0.8737, allocations: 5.381 MB / 1.049 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.8749, allocations: 47.92 kB / 1.049 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.875, allocations: 48.06 kB / 1.049 GB, free: 15.48 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.000701/0.8757, allocations: 433.6 kB / 1.049 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.8759, allocations: 143.1 kB / 1.049 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.8778, allocations: 1.096 MB / 1.051 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.8778, allocations: 15.98 kB / 1.051 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.8778, allocations: 4 kB / 1.051 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/0.8793, allocations: 1.051 MB / 1.052 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/0.8845, allocations: 3.089 MB / 1.055 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.8846, allocations: 8.75 kB / 1.055 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.8853, allocations: 155.8 kB / 1.055 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.8856, allocations: 134.6 kB / 1.055 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.8857, allocations: 31.98 kB / 1.055 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/0.8902, allocations: 5.354 MB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.8902, allocations: 11.94 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.8928, allocations: 1.751 MB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.8935, allocations: 320.1 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.8936, allocations: 24 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/0.8945, allocations: 27.98 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.8946, allocations: 80.34 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.8947, allocations: 28 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001162/0.8958, allocations: 0.8461 MB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8958, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001715/0.8976, allocations: 419.9 kB / 1.064 GB, free: 15.65 MB / 0.8262 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.003138/0.9007, allocations: 2.423 MB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.9027, allocations: 1.296 MB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9027, allocations: 4 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.9037, allocations: 0.7974 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/0.9074, allocations: 0.9011 MB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.9231, allocations: 11.28 MB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.9242, allocations: 1.351 MB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001182/0.9254, allocations: 360.6 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007516/0.9261, allocations: 0.55 MB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of SimCode: time 9.31e-07/0.9261, allocations: 0 / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3861/1.312, allocations: 43.66 MB / 1.125 GB, free: 282.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.22, allocations: 6.453 kB / 1.125 GB, free: 282.6 MB / 0.8419 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/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)