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.001548/0.001548, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001489/0.001489, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8154/0.8154, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.91 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3447, allocations: 80.92 MB / 0.5851 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5495/0.8942, allocations: 214.6 MB / 0.7946 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.9168, allocations: 21.33 MB / 0.8155 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.9194, allocations: 53.28 kB / 0.8155 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.9218, allocations: 0.7354 MB / 0.8162 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.9325, allocations: 4.242 MB / 0.8204 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.9355, allocations: 1.055 MB / 0.8214 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005034/0.9405, allocations: 3.916 MB / 0.8252 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.943, allocations: 1.572 MB / 0.8268 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.9465, allocations: 1.62 MB / 0.8283 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.95, allocations: 1.554 MB / 0.8299 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006234/0.9507, allocations: 164.7 kB / 0.83 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.9548, allocations: 1.824 MB / 0.8318 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.9561, allocations: 0.7367 MB / 0.8325 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.9585, allocations: 0.9541 MB / 0.8334 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007333/0.9659, allocations: 2.899 MB / 0.8363 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.9659, allocations: 2.219 kB / 0.8363 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9659, allocations: 2.531 kB / 0.8363 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001076/0.966, allocations: 0 / 0.8363 GB, free: 13.64 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.004664/0.9707, allocations: 2.045 MB / 0.8383 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.9707, allocations: 11.8 kB / 0.8383 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.9729, allocations: 395.3 kB / 0.8387 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.9751, allocations: 1.098 MB / 0.8397 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.827e-05/0.9752, allocations: 105.9 kB / 0.8398 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.9754, allocations: 141.2 kB / 0.84 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.9779, allocations: 1.586 MB / 0.8415 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.978, allocations: 0 / 0.8415 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.9781, allocations: 57.91 kB / 0.8416 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/0.9782, allocations: 51.11 kB / 0.8416 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.9801, allocations: 1.292 MB / 0.8429 GB, free: 9.473 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.008362/0.9884, allocations: 6.508 MB / 0.8492 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.9899, allocations: 0.9501 MB / 0.8502 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.9906, allocations: 481.1 kB / 0.8506 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007406/0.9914, allocations: 412.2 kB / 0.851 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.9914, allocations: 43.22 kB / 0.8511 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/0.9914, allocations: 4 kB / 0.8511 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.005692/0.9971, allocations: 2.936 MB / 0.8539 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.9972, allocations: 64.41 kB / 0.854 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.9989, allocations: 1.193 MB / 0.8552 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.999, allocations: 45.7 kB / 0.8552 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/0.9995, allocations: 0.6817 MB / 0.8559 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.9998, allocations: 297.8 kB / 0.8562 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1, allocations: 202.5 kB / 0.8564 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1, allocations: 345.9 kB / 0.8567 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/1.001, allocations: 377.8 kB / 0.857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/1.002, allocations: 0.7374 MB / 0.8578 GB, free: 10.3 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.01174/1.014, allocations: 2.908 MB / 0.8606 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.014, allocations: 4 kB / 0.8606 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002283/1.016, allocations: 1.304 MB / 0.8619 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.016, allocations: 8 kB / 0.8619 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.016, allocations: 8 kB / 0.8619 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/1.016, allocations: 137.4 kB / 0.862 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/1.017, allocations: 212.7 kB / 0.8622 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/1.022, allocations: 5.365 MB / 0.8675 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.023, allocations: 56.12 kB / 0.8675 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/1.024, allocations: 50.61 kB / 0.8676 GB, free: 15.81 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.0008129/1.024, allocations: 435.2 kB / 0.868 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/1.025, allocations: 138.3 kB / 0.8681 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/1.026, allocations: 1.095 MB / 0.8692 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.026, allocations: 8 kB / 0.8692 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/1.026, allocations: 0 / 0.8692 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/1.028, allocations: 1.063 MB / 0.8702 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/1.033, allocations: 3.077 MB / 0.8732 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.033, allocations: 8.125 kB / 0.8732 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/1.034, allocations: 162.1 kB / 0.8734 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/1.034, allocations: 130.5 kB / 0.8735 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/1.034, allocations: 20 kB / 0.8735 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/1.039, allocations: 5.37 MB / 0.8788 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.039, allocations: 10.53 kB / 0.8788 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/1.042, allocations: 1.765 MB / 0.8805 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007133/1.042, allocations: 311.4 kB / 0.8808 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/1.043, allocations: 27.98 kB / 0.8808 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000766/1.043, allocations: 33.94 kB / 0.8809 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.043, allocations: 78.03 kB / 0.881 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/1.044, allocations: 35.98 kB / 0.881 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001241/1.045, allocations: 0.8422 MB / 0.8818 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 0 / 0.8818 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001584/1.046, allocations: 412 kB / 0.8822 GB, free: 112 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.00064/1.047, allocations: 248.6 kB / 0.8824 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002381/1.049, allocations: 1.447 MB / 0.8839 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.049, allocations: 0 / 0.8839 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009878/1.05, allocations: 0.799 MB / 0.8846 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.054, allocations: 0.8943 MB / 0.8855 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/1.059, allocations: 2.97 MB / 0.8884 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.06, allocations: 1.355 MB / 0.8897 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/1.061, allocations: 119.4 kB / 0.8898 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.061, allocations: 0 / 0.8898 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of Templates: time 0.05625/1.117, allocations: 43.1 MB / 0.9319 GB, free: 13.36 MB / 0.6856 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)