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.001167/0.001167, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008463/0.008463, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.537/1.537, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005659/0.000566, allocations: 8.656 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2555, allocations: 82.32 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5771/0.8326, allocations: 209.5 MB / 0.7926 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0256/0.8582, allocations: 21.21 MB / 0.8133 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.8603, allocations: 43.69 kB / 0.8133 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.8625, allocations: 0.6217 MB / 0.8139 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.8753, allocations: 3.985 MB / 0.8178 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003866/0.8792, allocations: 0.9578 MB / 0.8188 GB, free: 60 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008338/0.8876, allocations: 5.37 MB / 0.824 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.8899, allocations: 1.299 MB / 0.8253 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.8936, allocations: 1.389 MB / 0.8266 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003791/0.8974, allocations: 1.552 MB / 0.8282 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.8978, allocations: 68 kB / 0.8282 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/0.9023, allocations: 2.081 MB / 0.8302 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.9034, allocations: 0.6465 MB / 0.8309 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.9049, allocations: 0.8607 MB / 0.8317 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00485/0.9098, allocations: 2.92 MB / 0.8346 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9098, allocations: 0 / 0.8346 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9098, allocations: 0 / 0.8346 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.531e-05/0.9099, allocations: 0 / 0.8346 GB, free: 15.8 MB / 0.6544 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.002863/0.9127, allocations: 1.705 MB / 0.8362 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9128, allocations: 12.03 kB / 0.8362 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.915, allocations: 401.5 kB / 0.8366 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.917, allocations: 1.093 MB / 0.8377 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.9171, allocations: 102.6 kB / 0.8378 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.9173, allocations: 135.9 kB / 0.8379 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.9198, allocations: 1.598 MB / 0.8395 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.9199, allocations: 3.906 kB / 0.8395 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.92, allocations: 52 kB / 0.8395 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.23e-05/0.9201, allocations: 50.45 kB / 0.8396 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.9222, allocations: 1.298 MB / 0.8409 GB, free: 9.164 MB / 0.6544 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.007989/0.9302, allocations: 6.469 MB / 0.8472 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.9316, allocations: 0.9475 MB / 0.8481 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.9323, allocations: 482.5 kB / 0.8486 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/0.933, allocations: 425 kB / 0.849 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.9331, allocations: 43.22 kB / 0.849 GB, free: 316 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.9331, allocations: 0 / 0.849 GB, free: 316 kB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005571/0.9387, allocations: 2.944 MB / 0.8519 GB, free: 13.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.9388, allocations: 64.39 kB / 0.8519 GB, free: 13.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.9405, allocations: 1.197 MB / 0.8531 GB, free: 11.96 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/0.9406, allocations: 41.7 kB / 0.8531 GB, free: 11.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/0.9412, allocations: 0.6799 MB / 0.8538 GB, free: 11.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.9415, allocations: 303.6 kB / 0.8541 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.9416, allocations: 81.67 kB / 0.8542 GB, free: 10.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9417, allocations: 349.9 kB / 0.8545 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.9424, allocations: 377.8 kB / 0.8549 GB, free: 10.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.9433, allocations: 0.7285 MB / 0.8556 GB, free: 9.25 MB / 0.67 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.01259/0.9559, allocations: 3.21 MB / 0.8587 GB, free: 5.914 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.9559, allocations: 4 kB / 0.8587 GB, free: 5.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002333/0.9583, allocations: 1.296 MB / 0.86 GB, free: 4.598 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.9583, allocations: 8 kB / 0.86 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.9583, allocations: 8 kB / 0.86 GB, free: 4.582 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.9586, allocations: 127.1 kB / 0.8601 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/0.9594, allocations: 215.7 kB / 0.8603 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3544/1.314, allocations: 4.824 MB / 0.865 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.316, allocations: 101 kB / 0.8651 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/1.316, allocations: 51.86 kB / 0.8652 GB, free: 216.9 MB / 0.67 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 (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.000763/1.317, allocations: 427.7 kB / 0.8656 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/1.317, allocations: 138.9 kB / 0.8657 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.318, allocations: 1.096 MB / 0.8668 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.318, allocations: 6.812 kB / 0.8668 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.318, allocations: 3.125 kB / 0.8668 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/1.32, allocations: 1.06 MB / 0.8678 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/1.325, allocations: 3.122 MB / 0.8709 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.325, allocations: 9.344 kB / 0.8709 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/1.325, allocations: 157.5 kB / 0.8711 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/1.325, allocations: 123.3 kB / 0.8712 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/1.326, allocations: 29.92 kB / 0.8712 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/1.329, allocations: 4.821 MB / 0.8759 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.329, allocations: 5.406 kB / 0.8759 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.331, allocations: 1.765 MB / 0.8776 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/1.332, allocations: 320.2 kB / 0.8779 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/1.332, allocations: 24.16 kB / 0.878 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009236/1.333, allocations: 77.86 kB / 0.878 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.333, allocations: 88.42 kB / 0.8781 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/1.333, allocations: 35.88 kB / 0.8782 GB, free: 210.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001022/1.334, allocations: 0.8436 MB / 0.879 GB, free: 210.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/1.334, allocations: 0 / 0.879 GB, free: 210.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001639/1.336, allocations: 406.4 kB / 0.8794 GB, free: 210.4 MB / 0.67 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.0005631/1.337, allocations: 242.2 kB / 0.8796 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.338, allocations: 1.266 MB / 0.8808 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.338, allocations: 6.031 kB / 0.8808 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/1.339, allocations: 0.7952 MB / 0.8816 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/1.344, allocations: 0.8508 MB / 0.8824 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/1.348, allocations: 3.454 MB / 0.8858 GB, free: 207 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/1.349, allocations: 1.354 MB / 0.8871 GB, free: 206.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001547/1.351, allocations: 345.9 kB / 0.8875 GB, free: 206.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/1.351, allocations: 115.6 kB / 0.8876 GB, free: 206.2 MB / 0.67 GB Notification: Performance of SimCode: time 8.91e-07/1.351, allocations: 4 kB / 0.8876 GB, free: 206.2 MB / 0.67 GB Notification: Performance of Templates: time 0.05862/1.41, allocations: 30.37 MB / 0.9172 GB, free: 200.5 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)