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.001029/0.001028, allocations: 100.6 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.001009/0.001009, allocations: 195.4 kB / 17.3 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.792/0.792, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3569, allocations: 80.91 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.525/0.8819, allocations: 214.6 MB / 0.7953 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.9013, allocations: 21.33 MB / 0.8162 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.9032, allocations: 52.66 kB / 0.8162 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.9049, allocations: 0.7355 MB / 0.8169 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009053/0.914, allocations: 4.243 MB / 0.8211 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.9166, allocations: 1.071 MB / 0.8221 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005357/0.9219, allocations: 3.913 MB / 0.8259 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.9238, allocations: 1.58 MB / 0.8275 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.9268, allocations: 1.625 MB / 0.8291 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.93, allocations: 1.54 MB / 0.8306 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.9303, allocations: 164.8 kB / 0.8307 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004293/0.9346, allocations: 1.834 MB / 0.8325 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009222/0.9355, allocations: 0.74 MB / 0.8332 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.937, allocations: 0.9588 MB / 0.8342 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.9417, allocations: 2.935 MB / 0.837 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9417, allocations: 0 / 0.837 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9417, allocations: 0 / 0.837 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.342e-05/0.9417, allocations: 0 / 0.837 GB, free: 13.5 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.003219/0.945, allocations: 2.04 MB / 0.839 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.945, allocations: 9.484 kB / 0.839 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.9472, allocations: 400.2 kB / 0.8394 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.9494, allocations: 1.154 MB / 0.8406 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.9495, allocations: 105.7 kB / 0.8407 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.9497, allocations: 138.3 kB / 0.8408 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.9519, allocations: 1.589 MB / 0.8423 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.952, allocations: 7.891 kB / 0.8423 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.9521, allocations: 53.94 kB / 0.8424 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.9521, allocations: 52.59 kB / 0.8424 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.9539, allocations: 1.291 MB / 0.8437 GB, free: 9.312 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.007441/0.9614, allocations: 6.467 MB / 0.85 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.9628, allocations: 0.9504 MB / 0.851 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.9634, allocations: 480.2 kB / 0.8514 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006801/0.9641, allocations: 422.9 kB / 0.8518 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.9642, allocations: 43.22 kB / 0.8519 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.716e-06/0.9642, allocations: 0 / 0.8519 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.004926/0.9691, allocations: 2.94 MB / 0.8547 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.9692, allocations: 60.41 kB / 0.8548 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.9706, allocations: 1.197 MB / 0.856 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.9707, allocations: 41.7 kB / 0.856 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.9712, allocations: 0.6747 MB / 0.8566 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.9714, allocations: 307.2 kB / 0.8569 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.9717, allocations: 198.5 kB / 0.8571 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9718, allocations: 353.9 kB / 0.8575 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.9724, allocations: 369.8 kB / 0.8578 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.9732, allocations: 0.7336 MB / 0.8585 GB, free: 10.15 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.01108/0.9843, allocations: 2.908 MB / 0.8614 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.9843, allocations: 8 kB / 0.8614 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001989/0.9863, allocations: 1.289 MB / 0.8626 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.9863, allocations: 8 kB / 0.8627 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.9863, allocations: 8.719 kB / 0.8627 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.9866, allocations: 146.4 kB / 0.8628 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.9874, allocations: 199.3 kB / 0.863 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/0.9916, allocations: 5.379 MB / 0.8682 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.9929, allocations: 55.11 kB / 0.8683 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.9929, allocations: 44 kB / 0.8683 GB, free: 15.67 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.0006445/0.9936, allocations: 432.8 kB / 0.8687 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.9938, allocations: 138.3 kB / 0.8689 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.9956, allocations: 1.095 MB / 0.87 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.9956, allocations: 8 kB / 0.87 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9956, allocations: 3.984 kB / 0.87 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.997, allocations: 1.045 MB / 0.871 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004942/1.002, allocations: 3.092 MB / 0.874 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.002, allocations: 10.62 kB / 0.874 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/1.003, allocations: 159.5 kB / 0.8742 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/1.003, allocations: 129.5 kB / 0.8743 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/1.003, allocations: 31.98 kB / 0.8743 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/1.007, allocations: 5.352 MB / 0.8795 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.007, allocations: 10.59 kB / 0.8796 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.009, allocations: 1.773 MB / 0.8813 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/1.01, allocations: 315.3 kB / 0.8816 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.01, allocations: 20 kB / 0.8816 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/1.011, allocations: 31.92 kB / 0.8816 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.011, allocations: 80.02 kB / 0.8817 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/1.011, allocations: 35.98 kB / 0.8817 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001054/1.012, allocations: 0.8461 MB / 0.8826 GB, free: 388 kB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/1.012, allocations: 0 / 0.8826 GB, free: 388 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001398/1.014, allocations: 408 kB / 0.883 GB, free: 15.98 MB / 0.6387 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.0005107/1.014, allocations: 240.7 kB / 0.8832 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.016, allocations: 1.286 MB / 0.8844 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.016, allocations: 12 kB / 0.8845 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008198/1.017, allocations: 0.7906 MB / 0.8852 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.02, allocations: 0.8904 MB / 0.8861 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/1.023, allocations: 2.848 MB / 0.8889 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/1.024, allocations: 1.359 MB / 0.8902 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009592/1.025, allocations: 348.6 kB / 0.8905 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/1.026, allocations: 111.4 kB / 0.8906 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/1.026, allocations: 0 / 0.8906 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of Templates: time 0.04836/1.074, allocations: 31.85 MB / 0.9217 GB, free: 8.727 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)