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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.745/0.745, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 404.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.001401, allocations: 103.5 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.84 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1467, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.4876/0.6344, allocations: 212.4 MB / 0.8495 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.6588, allocations: 21.48 MB / 0.8705 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.6604, allocations: 47.69 kB / 0.8706 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.6622, allocations: 0.6294 MB / 0.8712 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009088/0.6713, allocations: 3.974 MB / 0.8751 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.674, allocations: 0.969 MB / 0.876 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005584/0.6796, allocations: 5.391 MB / 0.8813 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.6813, allocations: 1.333 MB / 0.8826 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.6841, allocations: 1.463 MB / 0.884 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.6874, allocations: 1.6 MB / 0.8856 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.6877, allocations: 88 kB / 0.8856 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.6924, allocations: 2.096 MB / 0.8877 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.6934, allocations: 0.67 MB / 0.8883 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.6947, allocations: 0.8863 MB / 0.8892 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.6993, allocations: 2.964 MB / 0.8921 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6993, allocations: 4 kB / 0.8921 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6993, allocations: 0 / 0.8921 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.077e-05/0.6993, allocations: 0 / 0.8921 GB, free: 0.9531 MB / 0.6198 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.0034/0.7028, allocations: 2.03 MB / 0.8941 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.5e-05/0.7028, allocations: 8.031 kB / 0.8941 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.705, allocations: 409.4 kB / 0.8945 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.707, allocations: 1.104 MB / 0.8956 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.7071, allocations: 98.56 kB / 0.8957 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.7073, allocations: 139.9 kB / 0.8958 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.7096, allocations: 1.583 MB / 0.8973 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.7097, allocations: 4 kB / 0.8973 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.7098, allocations: 55.98 kB / 0.8974 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.305e-05/0.7099, allocations: 46.45 kB / 0.8974 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.7118, allocations: 1.294 MB / 0.8987 GB, free: 9.996 MB / 0.6355 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.007638/0.7195, allocations: 6.477 MB / 0.905 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.7208, allocations: 0.9312 MB / 0.9059 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/0.7215, allocations: 493.1 kB / 0.9064 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006908/0.7222, allocations: 417 kB / 0.9068 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7222, allocations: 51.09 kB / 0.9069 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.7222, allocations: 0 / 0.9069 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.005032/0.7273, allocations: 2.936 MB / 0.9097 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.7273, allocations: 60.41 kB / 0.9098 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.7288, allocations: 1.193 MB / 0.9109 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.7288, allocations: 45.7 kB / 0.911 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.7293, allocations: 0.6799 MB / 0.9116 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.7296, allocations: 303.6 kB / 0.9119 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.7299, allocations: 198.5 kB / 0.9121 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.73, allocations: 349.9 kB / 0.9125 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.7305, allocations: 373.8 kB / 0.9128 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.7314, allocations: 0.7345 MB / 0.9135 GB, free: 9.965 MB / 0.6511 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.01135/0.7428, allocations: 2.913 MB / 0.9164 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/0.7428, allocations: 0 / 0.9164 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002056/0.7449, allocations: 1.301 MB / 0.9177 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7449, allocations: 8.938 kB / 0.9177 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.7449, allocations: 12.09 kB / 0.9177 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.7452, allocations: 130.5 kB / 0.9178 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.746, allocations: 203.7 kB / 0.918 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.7502, allocations: 4.82 MB / 0.9227 GB, free: 32 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.7517, allocations: 108.2 kB / 0.9228 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.7517, allocations: 44 kB / 0.9228 GB, free: 15.88 MB / 0.6667 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.000668/0.7524, allocations: 434.6 kB / 0.9233 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.7526, allocations: 146.3 kB / 0.9234 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.7543, allocations: 1.092 MB / 0.9245 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7544, allocations: 8 kB / 0.9245 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.7544, allocations: 3.938 kB / 0.9245 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.7557, allocations: 1.051 MB / 0.9255 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.7608, allocations: 3.089 MB / 0.9285 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.7608, allocations: 4 kB / 0.9285 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.7616, allocations: 163.7 kB / 0.9287 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.7618, allocations: 123 kB / 0.9288 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.7619, allocations: 32 kB / 0.9288 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003758/0.7657, allocations: 4.812 MB / 0.9335 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.7657, allocations: 12.17 kB / 0.9335 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.7781, allocations: 6.576 MB / 0.94 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005975/0.7788, allocations: 319.2 kB / 0.9403 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.779, allocations: 24 kB / 0.9403 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008646/0.7798, allocations: 71.97 kB / 0.9404 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.78, allocations: 80.3 kB / 0.9404 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.7801, allocations: 39.98 kB / 0.9405 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001062/0.7811, allocations: 0.8461 MB / 0.9413 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7811, allocations: 0 / 0.9413 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001941/0.7831, allocations: 0.5586 MB / 0.9418 GB, free: 11.46 MB / 0.6823 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.0005726/0.7837, allocations: 250.2 kB / 0.9421 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.7856, allocations: 1.277 MB / 0.9433 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7856, allocations: 0 / 0.9433 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.7864, allocations: 0.7822 MB / 0.9441 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/0.7902, allocations: 0.8466 MB / 0.9449 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.7952, allocations: 3.865 MB / 0.9487 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/0.7961, allocations: 1.396 MB / 0.9501 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001319/0.7975, allocations: 360.8 kB / 0.9504 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.7978, allocations: 115.4 kB / 0.9505 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/0.7978, allocations: 3.938 kB / 0.9505 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of Templates: time 0.3297/1.128, allocations: 32.33 MB / 0.9821 GB, free: 245.3 MB / 0.6823 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)