Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_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.002369/0.002369, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7673/0.7673, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.0009512, allocations: 100.7 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.411e-05/4.415e-05, allocations: 3.781 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.631/4.832, allocations: 1.901 GB / 2.542 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/4.832, allocations: 87.95 kB / 2.542 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.115/9.947, allocations: 1.295 GB / 3.837 GB, free: 38.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/9.947, allocations: 3.938 kB / 3.837 GB, free: 38.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002308/9.948, allocations: 39.98 kB / 3.837 GB, free: 38 MB / 0.698 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.006621/9.954, allocations: 1.833 MB / 3.839 GB, free: 36.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/9.954, allocations: 8.031 kB / 3.839 GB, free: 36.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000833/9.955, allocations: 198.1 kB / 3.839 GB, free: 35.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/9.958, allocations: 397.5 kB / 3.839 GB, free: 35.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/9.962, allocations: 1.152 MB / 3.841 GB, free: 34.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/9.962, allocations: 102.5 kB / 3.841 GB, free: 34.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/9.963, allocations: 136 kB / 3.841 GB, free: 34.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/9.967, allocations: 1.494 MB / 3.842 GB, free: 32.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/9.967, allocations: 3.938 kB / 3.842 GB, free: 32.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/9.967, allocations: 52 kB / 3.842 GB, free: 32.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.865e-05/9.967, allocations: 50.45 kB / 3.842 GB, free: 32.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/9.969, allocations: 1.196 MB / 3.844 GB, free: 31.19 MB / 0.698 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.009496/9.979, allocations: 6.537 MB / 3.85 GB, free: 24.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/9.98, allocations: 0.9283 MB / 3.851 GB, free: 23.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/9.981, allocations: 463.8 kB / 3.851 GB, free: 22.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000631/9.982, allocations: 413.1 kB / 3.852 GB, free: 22.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/9.982, allocations: 39.34 kB / 3.852 GB, free: 22.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/9.982, allocations: 4 kB / 3.852 GB, free: 22.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.005737/9.987, allocations: 2.302 MB / 3.854 GB, free: 19.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/9.987, allocations: 60.19 kB / 3.854 GB, free: 19.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/9.99, allocations: 1.025 MB / 3.855 GB, free: 18.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/9.99, allocations: 45.7 kB / 3.855 GB, free: 18.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/9.99, allocations: 0.6761 MB / 3.856 GB, free: 18.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/9.991, allocations: 295.7 kB / 3.856 GB, free: 17.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/9.991, allocations: 20 kB / 3.856 GB, free: 17.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001158/9.991, allocations: 349.9 kB / 3.856 GB, free: 17.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/9.991, allocations: 361.9 kB / 3.857 GB, free: 17.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/9.992, allocations: 0.732 MB / 3.857 GB, free: 16.17 MB / 0.698 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.01101/10, allocations: 2.32 MB / 3.86 GB, free: 13.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/10, allocations: 4 kB / 3.86 GB, free: 13.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002541/10.01, allocations: 1.296 MB / 3.861 GB, free: 12.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/10.01, allocations: 9.375 kB / 3.861 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/10.01, allocations: 8 kB / 3.861 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/10.01, allocations: 150.5 kB / 3.861 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/10.01, allocations: 207.7 kB / 3.861 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/10.01, allocations: 4.776 MB / 3.866 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/10.01, allocations: 115.7 kB / 3.866 GB, free: 6.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/10.01, allocations: 44 kB / 3.866 GB, free: 6.801 MB / 0.698 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 () * 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.0003044/10.01, allocations: 172.7 kB / 3.866 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/10.01, allocations: 142.3 kB / 3.866 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/10.02, allocations: 1.087 MB / 3.867 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/10.02, allocations: 11.95 kB / 3.867 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/10.02, allocations: 0 / 3.867 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/10.02, allocations: 1.049 MB / 3.869 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/10.02, allocations: 3.081 MB / 3.872 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/10.02, allocations: 4 kB / 3.872 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/10.02, allocations: 155.8 kB / 3.872 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/10.02, allocations: 150.8 kB / 3.872 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/10.02, allocations: 28 kB / 3.872 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003957/10.03, allocations: 4.753 MB / 3.876 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/10.03, allocations: 8 kB / 3.876 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/10.03, allocations: 2.098 MB / 3.879 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/10.03, allocations: 323.3 kB / 3.879 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/10.03, allocations: 32.06 kB / 3.879 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/10.03, allocations: 75.78 kB / 3.879 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/10.03, allocations: 80.33 kB / 3.879 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/10.03, allocations: 39.98 kB / 3.879 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001661/10.04, allocations: 0.8169 MB / 3.88 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.1e-07/10.04, allocations: 4 kB / 3.88 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003294/10.04, allocations: 0.6288 MB / 3.88 GB, free: 6.992 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 () * 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.009133/10.05, allocations: 6.543 MB / 3.887 GB, free: 56 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.5635/10.61, allocations: 1.236 MB / 3.888 GB, free: 90.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/10.61, allocations: 1.219 kB / 3.888 GB, free: 90.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/10.61, allocations: 0.7668 MB / 3.889 GB, free: 90.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004402/10.62, allocations: 0.8341 MB / 3.89 GB, free: 90.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/10.62, allocations: 2.651 MB / 3.892 GB, free: 89.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/10.62, allocations: 1.387 MB / 3.894 GB, free: 88.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00144/10.63, allocations: 353.2 kB / 3.894 GB, free: 88.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/10.63, allocations: 0.5481 MB / 3.894 GB, free: 88.77 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/10.63, allocations: 0.7812 kB / 3.894 GB, free: 88.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/10.79, allocations: 83.43 MB / 3.976 GB, free: 86.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/10.8, allocations: 199.5 kB / 3.976 GB, free: 86.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.924/15.72, allocations: 0 / 3.976 GB, free: 86.48 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)