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.001195/0.001195, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.001219/0.001219, allocations: 187 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8193/0.8193, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.84 kB / 0.5863 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 80.93 MB / 0.6653 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6005/0.7564, allocations: 214.6 MB / 0.8749 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02886/0.7853, allocations: 21.34 MB / 0.8957 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.7879, allocations: 51.75 kB / 0.8958 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.7906, allocations: 0.7375 MB / 0.8965 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.8037, allocations: 4.252 MB / 0.9007 GB, free: 14.15 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.8074, allocations: 1.055 MB / 0.9017 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006688/0.8141, allocations: 3.913 MB / 0.9055 GB, free: 9.176 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.8168, allocations: 1.574 MB / 0.907 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.8206, allocations: 1.654 MB / 0.9087 GB, free: 5.914 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.8248, allocations: 1.538 MB / 0.9102 GB, free: 4.379 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.8252, allocations: 160 kB / 0.9103 GB, free: 4.223 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.83, allocations: 1.836 MB / 0.9121 GB, free: 2.383 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.8311, allocations: 0.7403 MB / 0.9128 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.8325, allocations: 0.9527 MB / 0.9138 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.8376, allocations: 2.941 MB / 0.9166 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8376, allocations: 0 / 0.9166 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8376, allocations: 0 / 0.9166 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.841e-05/0.8377, allocations: 0 / 0.9166 GB, free: 13.74 MB / 0.6856 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.003534/0.8412, allocations: 2.045 MB / 0.9186 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8412, allocations: 9.109 kB / 0.9186 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.8435, allocations: 397.6 kB / 0.919 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.8458, allocations: 1.159 MB / 0.9201 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.8459, allocations: 102.6 kB / 0.9202 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.8461, allocations: 147.9 kB / 0.9204 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.8488, allocations: 1.579 MB / 0.9219 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.8488, allocations: 4 kB / 0.9219 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.8489, allocations: 52 kB / 0.922 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.849, allocations: 50.44 kB / 0.922 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.851, allocations: 1.298 MB / 0.9233 GB, free: 6.711 MB / 0.6856 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.007858/0.8589, allocations: 6.469 MB / 0.9296 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.8602, allocations: 0.9351 MB / 0.9305 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.8609, allocations: 498.4 kB / 0.931 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/0.8616, allocations: 409 kB / 0.9314 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.8616, allocations: 51.16 kB / 0.9314 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.036e-06/0.8616, allocations: 0 / 0.9314 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005103/0.8667, allocations: 2.932 MB / 0.9343 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.8668, allocations: 60.41 kB / 0.9344 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.8683, allocations: 1.201 MB / 0.9355 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.8684, allocations: 41.7 kB / 0.9356 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.8689, allocations: 0.6876 MB / 0.9362 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.8692, allocations: 303.7 kB / 0.9365 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.8694, allocations: 190.6 kB / 0.9367 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8696, allocations: 353.9 kB / 0.9371 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.8701, allocations: 373.8 kB / 0.9374 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.871, allocations: 0.7363 MB / 0.9381 GB, free: 6.676 MB / 0.7012 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.01214/0.8831, allocations: 2.902 MB / 0.941 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.8831, allocations: 0 / 0.941 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002124/0.8853, allocations: 1.305 MB / 0.9422 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.8853, allocations: 8 kB / 0.9422 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.8853, allocations: 8 kB / 0.9423 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.8856, allocations: 134.5 kB / 0.9424 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.8864, allocations: 199.7 kB / 0.9426 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.8906, allocations: 5.386 MB / 0.9478 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.8919, allocations: 51.94 kB / 0.9479 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/0.892, allocations: 44 kB / 0.9479 GB, free: 12.07 MB / 0.7169 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.0007047/0.8927, allocations: 429.3 kB / 0.9483 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.893, allocations: 146.2 kB / 0.9485 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.8947, allocations: 1.104 MB / 0.9495 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.8947, allocations: 8 kB / 0.9496 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.8947, allocations: 0 / 0.9496 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/0.896, allocations: 1.047 MB / 0.9506 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.9013, allocations: 3.081 MB / 0.9536 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.9013, allocations: 8.75 kB / 0.9536 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.902, allocations: 163.7 kB / 0.9538 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.9023, allocations: 122.5 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.9024, allocations: 31.98 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.9068, allocations: 5.357 MB / 0.9591 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.9068, allocations: 11.94 kB / 0.9591 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.9094, allocations: 1.765 MB / 0.9609 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005936/0.91, allocations: 319.2 kB / 0.9612 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.9102, allocations: 24 kB / 0.9612 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.911, allocations: 26.39 kB / 0.9612 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.9111, allocations: 76.36 kB / 0.9613 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.9112, allocations: 35.98 kB / 0.9613 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001141/0.9123, allocations: 0.85 MB / 0.9622 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9123, allocations: 7.938 kB / 0.9622 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001442/0.9138, allocations: 404 kB / 0.9625 GB, free: 12.25 MB / 0.7325 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.0005594/0.9144, allocations: 247.1 kB / 0.9628 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.9163, allocations: 1.296 MB / 0.964 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9164, allocations: 4 kB / 0.9641 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.9174, allocations: 0.7939 MB / 0.9648 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/0.9213, allocations: 0.8913 MB / 0.9657 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.9263, allocations: 2.921 MB / 0.9686 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.9275, allocations: 1.359 MB / 0.9699 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.9279, allocations: 119.4 kB / 0.97 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.9279, allocations: 0 / 0.97 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of Templates: time 0.05022/0.9782, allocations: 43.26 MB / 1.012 GB, free: 9.336 MB / 0.7794 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)