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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.00162, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.002634/0.002634, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.838/2.838, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.866/1.866, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007724/0.0007729, allocations: 16 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3418, allocations: 82.31 MB / 0.5873 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.9758/1.318, allocations: 177 MB / 0.7601 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04506/1.363, allocations: 18.59 MB / 0.7783 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/1.367, allocations: 43.69 kB / 0.7783 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00524/1.372, allocations: 0.7621 MB / 0.779 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01502/1.388, allocations: 2.913 MB / 0.7819 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00609/1.394, allocations: 1.209 MB / 0.7831 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007014/1.401, allocations: 2.273 MB / 0.7853 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003814/1.405, allocations: 1.193 MB / 0.7865 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009673/1.414, allocations: 1.675 MB / 0.7881 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005474/1.42, allocations: 1.117 MB / 0.7892 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001222/1.421, allocations: 72 kB / 0.7892 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007891/1.429, allocations: 0.8425 MB / 0.7901 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002859/1.432, allocations: 0.5923 MB / 0.7906 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002333/1.434, allocations: 364.8 kB / 0.791 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007968/1.442, allocations: 1.957 MB / 0.7929 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.443, allocations: 0 / 0.7929 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.432e-06/1.443, allocations: 0 / 0.7929 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000175/1.443, allocations: 0 / 0.7929 GB, free: 9.852 MB / 0.6075 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.007856/1.451, allocations: 1.705 MB / 0.7946 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.993e-05/1.451, allocations: 8.031 kB / 0.7946 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001243/1.452, allocations: 194.1 kB / 0.7948 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/1.458, allocations: 401.5 kB / 0.7951 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00677/1.465, allocations: 1.059 MB / 0.7962 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/1.465, allocations: 102.6 kB / 0.7963 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/1.466, allocations: 139.9 kB / 0.7964 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009084/1.475, allocations: 1.56 MB / 0.7979 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/1.476, allocations: 3.938 kB / 0.7979 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/1.476, allocations: 55.98 kB / 0.798 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/1.476, allocations: 54.42 kB / 0.798 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004221/1.48, allocations: 1.286 MB / 0.7993 GB, free: 3.098 MB / 0.6075 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.01927/1.5, allocations: 6.469 MB / 0.8056 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/1.502, allocations: 0.9303 MB / 0.8065 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/1.503, allocations: 161.7 kB / 0.8067 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/1.503, allocations: 43.22 kB / 0.8067 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 5.25e-06/1.503, allocations: 0 / 0.8067 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.009224/1.512, allocations: 2.938 MB / 0.8096 GB, free: 8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.512, allocations: 60.41 kB / 0.8097 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.515, allocations: 1.185 MB / 0.8108 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002402/1.515, allocations: 45.7 kB / 0.8109 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008167/1.516, allocations: 0.6877 MB / 0.8115 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/1.517, allocations: 299.7 kB / 0.8118 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/1.517, allocations: 20 kB / 0.8118 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002218/1.517, allocations: 341.9 kB / 0.8122 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/1.518, allocations: 373.8 kB / 0.8125 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.519, allocations: 0.7285 MB / 0.8132 GB, free: 4.082 MB / 0.6231 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.01669/1.536, allocations: 2.359 MB / 0.8155 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/1.536, allocations: 0 / 0.8155 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004286/1.54, allocations: 1.298 MB / 0.8168 GB, free: 408 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/1.541, allocations: 8 kB / 0.8168 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/1.541, allocations: 8 kB / 0.8168 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/1.541, allocations: 138.5 kB / 0.8169 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.542, allocations: 199.7 kB / 0.8171 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006848/1.549, allocations: 4.867 MB / 0.8219 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/1.552, allocations: 113 kB / 0.822 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/1.552, allocations: 47.94 kB / 0.822 GB, free: 10.62 MB / 0.6387 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.001698/1.554, allocations: 430.1 kB / 0.8224 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007645/1.555, allocations: 138.3 kB / 0.8226 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/1.558, allocations: 1.095 MB / 0.8236 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.559, allocations: 8 kB / 0.8237 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.559, allocations: 0 / 0.8237 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/1.561, allocations: 1.051 MB / 0.8247 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.572, allocations: 3.117 MB / 0.8277 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.572, allocations: 4 kB / 0.8277 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.573, allocations: 155.8 kB / 0.8279 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/1.573, allocations: 135.2 kB / 0.828 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-05/1.573, allocations: 24.88 kB / 0.828 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007439/1.581, allocations: 4.861 MB / 0.8328 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/1.581, allocations: 7.938 kB / 0.8328 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/1.586, allocations: 2.12 MB / 0.8349 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.587, allocations: 323.2 kB / 0.8352 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/1.587, allocations: 27.98 kB / 0.8352 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.589, allocations: 72.41 kB / 0.8353 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/1.589, allocations: 80.31 kB / 0.8353 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.589, allocations: 32 kB / 0.8354 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001926/1.591, allocations: 0.8343 MB / 0.8362 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/1.591, allocations: 0 / 0.8362 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002717/1.594, allocations: 404 kB / 0.8366 GB, free: 10.66 MB / 0.6544 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.006109/1.6, allocations: 4.374 MB / 0.8408 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003177/1.603, allocations: 1.265 MB / 0.8421 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/1.603, allocations: 4 kB / 0.8421 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.605, allocations: 0.7822 MB / 0.8428 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006823/1.612, allocations: 0.8399 MB / 0.8437 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/1.651, allocations: 14.44 MB / 0.8578 GB, free: 4.156 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/1.655, allocations: 1.383 MB / 0.8591 GB, free: 2.742 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00456/1.659, allocations: 352.8 kB / 0.8594 GB, free: 2.391 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/1.661, allocations: 0.55 MB / 0.86 GB, free: 1.84 MB / 0.67 GB Notification: Performance of SimCode: time 5.2e-06/1.662, allocations: 0 / 0.86 GB, free: 1.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8224/2.484, allocations: 42.74 MB / 0.9017 GB, free: 206.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/2.484, allocations: 219.4 kB / 0.9019 GB, free: 206.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.378/6.863, allocations: 1.312 kB / 0.9019 GB, free: 206.5 MB / 0.67 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) Environment - environmentSimulation: