Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01675/0.01675, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.42/1.42, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.493/2.493, allocations: 223.2 MB / 406.8 MB, free: 3.164 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.00179/0.00179, allocations: 93.44 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008357/0.0008357, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9067, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.27/10.18, allocations: 1.901 GB / 2.551 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005735/10.18, allocations: 92.94 kB / 2.551 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.696/19.87, allocations: 1.296 GB / 3.847 GB, free: 92.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.574e-06/19.87, allocations: 0 / 3.847 GB, free: 92.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002325/19.87, allocations: 46.83 kB / 3.847 GB, free: 92.54 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.01149/19.89, allocations: 2.074 MB / 3.849 GB, free: 90.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 9.693e-05/19.89, allocations: 11.97 kB / 3.849 GB, free: 90.42 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009148/19.89, allocations: 198.1 kB / 3.85 GB, free: 90.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/19.89, allocations: 389 kB / 3.85 GB, free: 89.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/19.9, allocations: 1.154 MB / 3.851 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/19.9, allocations: 109.9 kB / 3.851 GB, free: 88.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003683/19.9, allocations: 139.9 kB / 3.851 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/19.9, allocations: 1.507 MB / 3.853 GB, free: 86.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/19.9, allocations: 7.938 kB / 3.853 GB, free: 86.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/19.9, allocations: 58.78 kB / 3.853 GB, free: 86.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.943e-05/19.9, allocations: 50.44 kB / 3.853 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/19.9, allocations: 1.216 MB / 3.854 GB, free: 85.5 MB / 0.7136 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.01766/19.92, allocations: 6.539 MB / 3.86 GB, free: 78.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/19.92, allocations: 0.9272 MB / 3.861 GB, free: 77.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/19.93, allocations: 414.4 kB / 3.862 GB, free: 77.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.398e-05/19.93, allocations: 47.2 kB / 3.862 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 5.911e-06/19.93, allocations: 0 / 3.862 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.008476/19.93, allocations: 2.904 MB / 3.865 GB, free: 74.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/19.93, allocations: 62.97 kB / 3.865 GB, free: 74.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/19.94, allocations: 1.034 MB / 3.866 GB, free: 73.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/19.94, allocations: 45.7 kB / 3.866 GB, free: 72.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/19.94, allocations: 0.6837 MB / 3.866 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/19.94, allocations: 295.8 kB / 3.867 GB, free: 72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/19.94, allocations: 20 kB / 3.867 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001621/19.94, allocations: 345 kB / 3.867 GB, free: 71.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/19.94, allocations: 369.8 kB / 3.867 GB, free: 71.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/19.94, allocations: 0.745 MB / 3.868 GB, free: 70.39 MB / 0.7136 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.01237/19.95, allocations: 2.323 MB / 3.87 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/19.95, allocations: 4 kB / 3.87 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003172/19.96, allocations: 1.288 MB / 3.872 GB, free: 66.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/19.96, allocations: 11.94 kB / 3.872 GB, free: 66.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/19.96, allocations: 8 kB / 3.872 GB, free: 66.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/19.96, allocations: 130.2 kB / 3.872 GB, free: 66.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/19.96, allocations: 203.7 kB / 3.872 GB, free: 66.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004613/19.96, allocations: 4.833 MB / 3.877 GB, free: 61.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/19.96, allocations: 103.8 kB / 3.877 GB, free: 61.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/19.96, allocations: 47.98 kB / 3.877 GB, free: 61.1 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (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.001555/19.97, allocations: 437.3 kB / 3.877 GB, free: 60.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006725/19.97, allocations: 142.3 kB / 3.877 GB, free: 60.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/19.97, allocations: 1.08 MB / 3.879 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/19.97, allocations: 8 kB / 3.879 GB, free: 59.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/19.97, allocations: 7.938 kB / 3.879 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/19.97, allocations: 1.043 MB / 3.88 GB, free: 58.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/19.98, allocations: 3.054 MB / 3.883 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-05/19.98, allocations: 4.75 kB / 3.883 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/19.98, allocations: 163.8 kB / 3.883 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/19.99, allocations: 126.4 kB / 3.883 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/19.99, allocations: 20 kB / 3.883 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005098/19.99, allocations: 4.806 MB / 3.888 GB, free: 49.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/19.99, allocations: 15.89 kB / 3.888 GB, free: 49.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/19.99, allocations: 2.1 MB / 3.89 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/20, allocations: 311.4 kB / 3.89 GB, free: 46.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/20, allocations: 31.94 kB / 3.89 GB, free: 46.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/20, allocations: 79.7 kB / 3.89 GB, free: 46.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/20, allocations: 79.88 kB / 3.89 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/20, allocations: 35.98 kB / 3.89 GB, free: 46.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003322/20, allocations: 0.8343 MB / 3.891 GB, free: 45.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3e-07/20, allocations: 0 / 3.891 GB, free: 45.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006253/20.01, allocations: 0.6327 MB / 3.892 GB, free: 45.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (75): * Single equations (assignments): 72 * 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.01355/20.02, allocations: 6.545 MB / 3.898 GB, free: 38.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003508/20.03, allocations: 1.257 MB / 3.899 GB, free: 36.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/20.03, allocations: 0 / 3.899 GB, free: 36.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/20.03, allocations: 0.7821 MB / 3.9 GB, free: 36.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007856/20.04, allocations: 0.8374 MB / 3.901 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/20.07, allocations: 14.42 MB / 3.915 GB, free: 20.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/20.07, allocations: 1.39 MB / 3.916 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00307/20.07, allocations: 355.9 kB / 3.917 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/20.07, allocations: 0.5462 MB / 3.917 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of SimCode: time 1.323e-05/20.07, allocations: 4 kB / 3.917 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.261/21.34, allocations: 77.67 MB / 3.993 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/21.34, allocations: 237.5 kB / 3.993 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/29.81, allocations: 0 / 3.993 GB, free: 101.1 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)