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.00996/0.00996, allocations: 170.4 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7685/0.7685, allocations: 135.2 MB / 151 MB, free: 13.82 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.49/1.49, allocations: 223.2 MB / 406.8 MB, free: 3.254 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.001049/0.001049, allocations: 96.48 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004106, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.493, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.27/4.763, allocations: 1.901 GB / 2.551 GB, free: 37.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/4.764, allocations: 95.7 kB / 2.551 GB, free: 36.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.327/10.09, allocations: 1.296 GB / 3.847 GB, free: 64.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.905e-06/10.09, allocations: 0 / 3.847 GB, free: 64.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002693/10.09, allocations: 40 kB / 3.847 GB, free: 64.8 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.00892/10.1, allocations: 2.074 MB / 3.849 GB, free: 62.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/10.1, allocations: 8.031 kB / 3.849 GB, free: 62.66 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009762/10.1, allocations: 198.1 kB / 3.85 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/10.1, allocations: 393.6 kB / 3.85 GB, free: 62.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/10.11, allocations: 1.152 MB / 3.851 GB, free: 60.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/10.11, allocations: 102.6 kB / 3.851 GB, free: 60.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005488/10.11, allocations: 135.9 kB / 3.851 GB, free: 60.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/10.11, allocations: 1.516 MB / 3.853 GB, free: 59.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/10.11, allocations: 0 / 3.853 GB, free: 59.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/10.11, allocations: 60 kB / 3.853 GB, free: 58.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.182e-05/10.11, allocations: 46.44 kB / 3.853 GB, free: 58.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/10.11, allocations: 1.223 MB / 3.854 GB, free: 57.7 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.009493/10.12, allocations: 6.544 MB / 3.861 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/10.13, allocations: 0.9282 MB / 3.861 GB, free: 49.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/10.13, allocations: 416.9 kB / 3.862 GB, free: 49.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/10.13, allocations: 43.22 kB / 3.862 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.135e-06/10.13, allocations: 0 / 3.862 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.00755/10.13, allocations: 2.895 MB / 3.865 GB, free: 46.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/10.13, allocations: 60.41 kB / 3.865 GB, free: 46.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/10.14, allocations: 1.042 MB / 3.866 GB, free: 45.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/10.14, allocations: 45.7 kB / 3.866 GB, free: 45.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006858/10.14, allocations: 0.6915 MB / 3.866 GB, free: 44.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/10.14, allocations: 295.7 kB / 3.867 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/10.14, allocations: 20 kB / 3.867 GB, free: 44.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001404/10.14, allocations: 349.9 kB / 3.867 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/10.14, allocations: 361.8 kB / 3.867 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/10.14, allocations: 0.7397 MB / 3.868 GB, free: 42.46 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.01184/10.15, allocations: 2.327 MB / 3.87 GB, free: 40.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/10.15, allocations: 3.938 kB / 3.87 GB, free: 40.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00277/10.15, allocations: 1.278 MB / 3.872 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/10.15, allocations: 11.94 kB / 3.872 GB, free: 38.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/10.15, allocations: 8 kB / 3.872 GB, free: 38.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/10.16, allocations: 134.5 kB / 3.872 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/10.16, allocations: 199.7 kB / 3.872 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/10.16, allocations: 4.842 MB / 3.877 GB, free: 33.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/10.16, allocations: 99.75 kB / 3.877 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/10.16, allocations: 47.98 kB / 3.877 GB, free: 33.08 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.001216/10.16, allocations: 445.2 kB / 3.877 GB, free: 32.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/10.16, allocations: 138.3 kB / 3.877 GB, free: 32.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/10.17, allocations: 1.084 MB / 3.879 GB, free: 31.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/10.17, allocations: 8 kB / 3.879 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/10.17, allocations: 0 / 3.879 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/10.17, allocations: 1.035 MB / 3.88 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006375/10.17, allocations: 3.059 MB / 3.883 GB, free: 27.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/10.17, allocations: 11.94 kB / 3.883 GB, free: 27.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/10.17, allocations: 155.8 kB / 3.883 GB, free: 26.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/10.17, allocations: 126.2 kB / 3.883 GB, free: 26.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/10.17, allocations: 24 kB / 3.883 GB, free: 26.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/10.18, allocations: 4.81 MB / 3.888 GB, free: 21.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/10.18, allocations: 15.73 kB / 3.888 GB, free: 21.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/10.18, allocations: 2.096 MB / 3.89 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/10.18, allocations: 315.3 kB / 3.89 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000478/10.18, allocations: 19.98 kB / 3.89 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/10.18, allocations: 79.7 kB / 3.89 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/10.18, allocations: 84.3 kB / 3.89 GB, free: 18.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/10.18, allocations: 35.98 kB / 3.89 GB, free: 18.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001672/10.19, allocations: 0.8343 MB / 3.891 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/10.19, allocations: 4 kB / 3.891 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003253/10.19, allocations: 0.6288 MB / 3.892 GB, free: 17.02 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.00732/10.2, allocations: 6.544 MB / 3.898 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002162/10.2, allocations: 1.258 MB / 3.899 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/10.2, allocations: 4 kB / 3.899 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008983/10.2, allocations: 0.7805 MB / 3.9 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/10.2, allocations: 0.8464 MB / 3.901 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/10.22, allocations: 14.43 MB / 3.915 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/10.23, allocations: 1.383 MB / 3.916 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002003/10.23, allocations: 356.8 kB / 3.917 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/10.23, allocations: 0.55 MB / 3.917 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of SimCode: time 1.964e-06/10.23, allocations: 4 kB / 3.917 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7702/11, allocations: 77.67 MB / 3.993 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/11, allocations: 221.7 kB / 3.993 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.347/16.35, allocations: 0 / 3.993 GB, free: 102.4 MB / 0.7292 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)