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.001605/0.001605, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.926/0.926, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.926/1.926, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009743/0.0009743, allocations: 102.3 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.686e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.523, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.915/5.438, allocations: 1.901 GB / 2.535 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/5.438, allocations: 91.33 kB / 2.535 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.527/10.96, allocations: 1.281 GB / 3.816 GB, free: 78.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.487e-06/10.96, allocations: 0 / 3.816 GB, free: 78.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002468/10.97, allocations: 43.39 kB / 3.816 GB, free: 78.83 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.007051/10.97, allocations: 1.843 MB / 3.818 GB, free: 78.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.837e-05/10.97, allocations: 10.55 kB / 3.818 GB, free: 78.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/10.98, allocations: 394.8 kB / 3.818 GB, free: 77.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004198/10.98, allocations: 1.147 MB / 3.819 GB, free: 77.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/10.98, allocations: 41.69 kB / 3.819 GB, free: 77.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007276/10.98, allocations: 90 kB / 3.819 GB, free: 77.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003654/10.98, allocations: 1.112 MB / 3.821 GB, free: 77.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/10.99, allocations: 1.305 MB / 3.822 GB, free: 77.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/10.99, allocations: 3.188 kB / 3.822 GB, free: 77.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/10.99, allocations: 10.73 kB / 3.822 GB, free: 77.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.738e-05/10.99, allocations: 49.11 kB / 3.822 GB, free: 77.43 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.009503/11, allocations: 6.243 MB / 3.828 GB, free: 74.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/11, allocations: 0.8799 MB / 3.829 GB, free: 74.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/11, allocations: 432.8 kB / 3.829 GB, free: 74.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/11, allocations: 405.5 kB / 3.83 GB, free: 73.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/11, allocations: 50.8 kB / 3.83 GB, free: 73.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 5.1e-06/11, allocations: 3.875 kB / 3.83 GB, free: 73.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.007064/11.01, allocations: 2.5 MB / 3.832 GB, free: 73.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/11.01, allocations: 58.88 kB / 3.832 GB, free: 73.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/11.01, allocations: 0.7197 MB / 3.833 GB, free: 72.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/11.01, allocations: 30.7 kB / 3.833 GB, free: 72.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/11.01, allocations: 0.6841 MB / 3.834 GB, free: 72.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/11.01, allocations: 286.2 kB / 3.834 GB, free: 72.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/11.01, allocations: 0 / 3.834 GB, free: 72.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001244/11.01, allocations: 346.1 kB / 3.834 GB, free: 72.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/11.01, allocations: 342.7 kB / 3.835 GB, free: 72.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/11.01, allocations: 0.698 MB / 3.835 GB, free: 71.68 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.003132/11.01, allocations: 1.151 MB / 3.836 GB, free: 71.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/11.01, allocations: 0 / 3.836 GB, free: 71.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00283/11.02, allocations: 1.289 MB / 3.838 GB, free: 71.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/11.02, allocations: 7.75 kB / 3.838 GB, free: 71.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/11.02, allocations: 6.719 kB / 3.838 GB, free: 71.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/11.02, allocations: 150.7 kB / 3.838 GB, free: 71.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/11.02, allocations: 205.8 kB / 3.838 GB, free: 71.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/11.02, allocations: 4.598 MB / 3.842 GB, free: 67.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/11.02, allocations: 81.47 kB / 3.842 GB, free: 67.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/11.02, allocations: 50.27 kB / 3.843 GB, free: 67.59 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.0002783/11.02, allocations: 136.4 kB / 3.843 GB, free: 67.48 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002092/11.03, allocations: 1.041 MB / 3.844 GB, free: 67.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/11.03, allocations: 119.5 kB / 3.844 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/11.03, allocations: 1.131 MB / 3.845 GB, free: 67.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/11.03, allocations: 7.125 kB / 3.845 GB, free: 67.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/11.03, allocations: 0 / 3.845 GB, free: 67.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/11.03, allocations: 1.117 MB / 3.846 GB, free: 66.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/11.04, allocations: 2.939 MB / 3.849 GB, free: 66.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/11.04, allocations: 8.719 kB / 3.849 GB, free: 66.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/11.04, allocations: 162 kB / 3.849 GB, free: 66.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003637/11.04, allocations: 132.2 kB / 3.849 GB, free: 66.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/11.04, allocations: 13.28 kB / 3.849 GB, free: 66.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/11.04, allocations: 4.598 MB / 3.854 GB, free: 62.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-05/11.04, allocations: 13.95 kB / 3.854 GB, free: 62.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/11.04, allocations: 2.068 MB / 3.856 GB, free: 61.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/11.05, allocations: 281 kB / 3.856 GB, free: 61.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/11.05, allocations: 13.92 kB / 3.856 GB, free: 61.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/11.05, allocations: 61.19 kB / 3.856 GB, free: 61.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/11.05, allocations: 83.88 kB / 3.856 GB, free: 61.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/11.05, allocations: 31 kB / 3.856 GB, free: 61.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000947/11.05, allocations: 0.5384 MB / 3.857 GB, free: 61.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/11.05, allocations: 5.281 kB / 3.857 GB, free: 61.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00284/11.05, allocations: 0.526 MB / 3.857 GB, free: 61.11 MB / 0.698 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.008704/11.06, allocations: 6.817 MB / 3.864 GB, free: 57.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002604/11.06, allocations: 1.18 MB / 3.865 GB, free: 56.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-05/11.06, allocations: 6.156 kB / 3.865 GB, free: 56.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/11.06, allocations: 0.7182 MB / 3.866 GB, free: 56.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/11.07, allocations: 0.6088 MB / 3.866 GB, free: 56.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007173/11.07, allocations: 2.505 MB / 3.869 GB, free: 55.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/11.08, allocations: 1.384 MB / 3.87 GB, free: 55.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00162/11.08, allocations: 315.7 kB / 3.87 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/11.08, allocations: 0.5248 MB / 3.871 GB, free: 55.17 MB / 0.698 GB Notification: Performance of SimCode: time 1.833e-06/11.08, allocations: 0 / 3.871 GB, free: 55.17 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/11.2, allocations: 51.56 MB / 3.921 GB, free: 43.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/11.2, allocations: 143.8 kB / 3.921 GB, free: 43.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/15.16, allocations: 0 / 3.921 GB, free: 43.55 MB / 0.698 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)