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: translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001279, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001308/0.001308, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7569/0.7569, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3399, allocations: 80.91 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5163/0.8563, allocations: 214.6 MB / 0.7953 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02113/0.8774, allocations: 21.33 MB / 0.8162 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.8803, allocations: 50.94 kB / 0.8162 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.8826, allocations: 0.7425 MB / 0.8169 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009307/0.892, allocations: 4.245 MB / 0.8211 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.8944, allocations: 1.061 MB / 0.8221 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004169/0.8986, allocations: 3.917 MB / 0.8259 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.9004, allocations: 1.579 MB / 0.8275 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.9031, allocations: 1.626 MB / 0.8291 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.9056, allocations: 1.546 MB / 0.8306 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.9059, allocations: 165.7 kB / 0.8307 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.9093, allocations: 1.832 MB / 0.8325 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007207/0.91, allocations: 0.7391 MB / 0.8332 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.9111, allocations: 0.9609 MB / 0.8342 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003746/0.9149, allocations: 2.933 MB / 0.837 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.9149, allocations: 0 / 0.837 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9149, allocations: 4 kB / 0.8371 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.802e-05/0.915, allocations: 0 / 0.8371 GB, free: 13.53 MB / 0.5919 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.00289/0.9179, allocations: 2.032 MB / 0.839 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.9179, allocations: 11.11 kB / 0.839 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.9199, allocations: 398.8 kB / 0.8394 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.922, allocations: 1.158 MB / 0.8406 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.9221, allocations: 104.8 kB / 0.8407 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.9223, allocations: 137.4 kB / 0.8408 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.9244, allocations: 1.588 MB / 0.8423 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.9245, allocations: 5.812 kB / 0.8423 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.9246, allocations: 50.97 kB / 0.8424 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.9247, allocations: 55.72 kB / 0.8424 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.9265, allocations: 1.289 MB / 0.8437 GB, free: 9.348 MB / 0.5919 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.007725/0.9342, allocations: 6.472 MB / 0.85 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.9356, allocations: 0.9373 MB / 0.8509 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.9361, allocations: 484.4 kB / 0.8514 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000687/0.9368, allocations: 418.5 kB / 0.8518 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.937, allocations: 43.22 kB / 0.8518 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/0.937, allocations: 0 / 0.8518 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.005062/0.942, allocations: 2.939 MB / 0.8547 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.9421, allocations: 64.41 kB / 0.8548 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.9436, allocations: 1.193 MB / 0.8559 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.9437, allocations: 45.7 kB / 0.856 GB, free: 13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.9443, allocations: 0.6741 MB / 0.8566 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.9446, allocations: 302.1 kB / 0.8569 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.9449, allocations: 202.5 kB / 0.8571 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.945, allocations: 349.9 kB / 0.8575 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.9457, allocations: 372.9 kB / 0.8578 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008251/0.9465, allocations: 0.7362 MB / 0.8585 GB, free: 10.23 MB / 0.6075 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.01091/0.9574, allocations: 2.907 MB / 0.8614 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9574, allocations: 0 / 0.8614 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002088/0.9595, allocations: 1.305 MB / 0.8626 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.9595, allocations: 8 kB / 0.8627 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.9596, allocations: 8 kB / 0.8627 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.9598, allocations: 141.5 kB / 0.8628 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.9606, allocations: 204.7 kB / 0.863 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004332/0.9649, allocations: 5.368 MB / 0.8682 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.966, allocations: 60.56 kB / 0.8683 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.9661, allocations: 48 kB / 0.8683 GB, free: 15.74 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006034/0.9667, allocations: 422.2 kB / 0.8687 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.9669, allocations: 142.3 kB / 0.8689 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.9685, allocations: 1.099 MB / 0.8699 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.9686, allocations: 10.53 kB / 0.87 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.9686, allocations: 0 / 0.87 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/0.9699, allocations: 1.049 MB / 0.871 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.9748, allocations: 3.088 MB / 0.874 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9749, allocations: 7.938 kB / 0.874 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.9756, allocations: 162 kB / 0.8742 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/0.9758, allocations: 126.6 kB / 0.8743 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.9759, allocations: 28 kB / 0.8743 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003813/0.9797, allocations: 5.357 MB / 0.8795 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.9797, allocations: 10.62 kB / 0.8796 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.9819, allocations: 1.765 MB / 0.8813 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.9825, allocations: 311.4 kB / 0.8816 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.9826, allocations: 27.98 kB / 0.8816 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.9834, allocations: 31.92 kB / 0.8816 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.9835, allocations: 73.72 kB / 0.8817 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.9836, allocations: 43.97 kB / 0.8817 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001009/0.9846, allocations: 0.8421 MB / 0.8826 GB, free: 468 kB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9846, allocations: 0 / 0.8826 GB, free: 468 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001318/0.9859, allocations: 412 kB / 0.883 GB, free: 56 kB / 0.6231 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/0.9864, allocations: 257 kB / 0.8832 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.988, allocations: 1.287 MB / 0.8845 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.9881, allocations: 5.375 kB / 0.8845 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.9889, allocations: 0.7893 MB / 0.8852 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.992, allocations: 0.9037 MB / 0.8861 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.9957, allocations: 2.831 MB / 0.8889 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008521/0.9966, allocations: 1.355 MB / 0.8902 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001011/0.9976, allocations: 356.6 kB / 0.8905 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.9979, allocations: 111.4 kB / 0.8907 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.9979, allocations: 0 / 0.8907 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of Templates: time 0.048/1.046, allocations: 31.84 MB / 0.9217 GB, free: 8.801 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)