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.001665/0.001665, allocations: 102.1 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.001819/0.001819, allocations: 188.7 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7873/0.7873, allocations: 135.1 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 63.91 kB / 0.506 GB, free: 8.398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4224, allocations: 80.91 MB / 0.585 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5417/0.9641, allocations: 214.6 MB / 0.7946 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.9862, allocations: 21.33 MB / 0.8154 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.9889, allocations: 55.48 kB / 0.8155 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.9914, allocations: 0.7355 MB / 0.8162 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/1.003, allocations: 4.24 MB / 0.8203 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/1.005, allocations: 1.06 MB / 0.8214 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004869/1.01, allocations: 3.912 MB / 0.8252 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/1.012, allocations: 1.573 MB / 0.8267 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/1.016, allocations: 1.618 MB / 0.8283 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003631/1.019, allocations: 1.556 MB / 0.8298 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004691/1.02, allocations: 161.7 kB / 0.83 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/1.024, allocations: 1.825 MB / 0.8317 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009147/1.025, allocations: 0.7382 MB / 0.8325 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/1.027, allocations: 0.955 MB / 0.8334 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00534/1.032, allocations: 2.897 MB / 0.8362 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.032, allocations: 4 kB / 0.8362 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.607e-06/1.032, allocations: 3.984 kB / 0.8362 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.107e-05/1.032, allocations: 0 / 0.8362 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.003417/1.036, allocations: 2.04 MB / 0.8382 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.036, allocations: 9.734 kB / 0.8382 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/1.038, allocations: 393.8 kB / 0.8386 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/1.04, allocations: 1.097 MB / 0.8397 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/1.04, allocations: 109.6 kB / 0.8398 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/1.04, allocations: 138.1 kB / 0.8399 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/1.043, allocations: 1.583 MB / 0.8415 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/1.043, allocations: 6.969 kB / 0.8415 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/1.043, allocations: 58.94 kB / 0.8415 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/1.043, allocations: 49.53 kB / 0.8416 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/1.045, allocations: 1.294 MB / 0.8428 GB, free: 9.488 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.007964/1.053, allocations: 6.521 MB / 0.8492 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.054, allocations: 0.9386 MB / 0.8501 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/1.055, allocations: 482.5 kB / 0.8506 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/1.055, allocations: 415.5 kB / 0.851 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.055, allocations: 43.22 kB / 0.851 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.085e-06/1.055, allocations: 0 / 0.851 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.005736/1.061, allocations: 2.937 MB / 0.8539 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.061, allocations: 64.41 kB / 0.854 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.063, allocations: 1.203 MB / 0.8551 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.544e-05/1.063, allocations: 41.7 kB / 0.8552 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/1.064, allocations: 0.675 MB / 0.8558 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/1.064, allocations: 305.2 kB / 0.8561 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/1.065, allocations: 194.5 kB / 0.8563 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.065, allocations: 357.8 kB / 0.8566 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/1.065, allocations: 369.8 kB / 0.857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008786/1.066, allocations: 0.7376 MB / 0.8577 GB, free: 10.29 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.01215/1.078, allocations: 2.911 MB / 0.8606 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.078, allocations: 0 / 0.8606 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002496/1.081, allocations: 1.297 MB / 0.8618 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.081, allocations: 8 kB / 0.8618 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.081, allocations: 8 kB / 0.8618 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/1.081, allocations: 145.7 kB / 0.862 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/1.082, allocations: 200.7 kB / 0.8622 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/1.087, allocations: 5.385 MB / 0.8674 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.088, allocations: 51.94 kB / 0.8675 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/1.088, allocations: 51.98 kB / 0.8675 GB, free: 15.8 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.0009499/1.089, allocations: 418.3 kB / 0.8679 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/1.09, allocations: 142.3 kB / 0.8681 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/1.092, allocations: 1.105 MB / 0.8691 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.092, allocations: 11.98 kB / 0.8692 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.092, allocations: 0 / 0.8692 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/1.093, allocations: 1.045 MB / 0.8702 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00581/1.099, allocations: 3.083 MB / 0.8732 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.099, allocations: 12.03 kB / 0.8732 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/1.1, allocations: 158 kB / 0.8734 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/1.1, allocations: 122.5 kB / 0.8735 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/1.1, allocations: 31.98 kB / 0.8735 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/1.105, allocations: 5.362 MB / 0.8787 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.105, allocations: 6.531 kB / 0.8787 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/1.108, allocations: 1.773 MB / 0.8805 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008424/1.108, allocations: 315.3 kB / 0.8808 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/1.109, allocations: 20 kB / 0.8808 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.11, allocations: 31.92 kB / 0.8808 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.11, allocations: 77.48 kB / 0.8809 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/1.11, allocations: 35.98 kB / 0.8809 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001344/1.112, allocations: 0.8461 MB / 0.8818 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.112, allocations: 0 / 0.8818 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001812/1.113, allocations: 412 kB / 0.8821 GB, free: 108 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.000668/1.114, allocations: 248.4 kB / 0.8824 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002397/1.116, allocations: 1.444 MB / 0.8838 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.116, allocations: 4 kB / 0.8838 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009777/1.117, allocations: 0.788 MB / 0.8846 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/1.122, allocations: 0.8915 MB / 0.8854 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/1.127, allocations: 2.984 MB / 0.8884 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.128, 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.0004484/1.129, allocations: 115.4 kB / 0.8898 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/1.129, allocations: 4 kB / 0.8898 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of Templates: time 0.0518/1.181, allocations: 43.09 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)