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.001321/0.001321, allocations: 106.2 kB / 16.41 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.001347/0.001347, allocations: 191.7 kB / 17.35 MB, free: 5.691 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8919/0.8919, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 64.28 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 80.94 MB / 0.6654 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.7461/0.9267, allocations: 215.1 MB / 0.8755 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02975/0.9564, allocations: 21.36 MB / 0.8963 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.9588, allocations: 51.69 kB / 0.8964 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.9615, allocations: 0.7609 MB / 0.8971 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.9743, allocations: 4.411 MB / 0.9014 GB, free: 13.35 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.9777, allocations: 1.069 MB / 0.9025 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006478/0.9841, allocations: 3.914 MB / 0.9063 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.9866, allocations: 1.324 MB / 0.9076 GB, free: 7 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003914/0.9905, allocations: 1.682 MB / 0.9092 GB, free: 5.312 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.9945, allocations: 1.565 MB / 0.9108 GB, free: 3.754 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.995, allocations: 160 kB / 0.9109 GB, free: 3.598 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/1, allocations: 1.843 MB / 0.9127 GB, free: 1.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/1.002, allocations: 0.7634 MB / 0.9135 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/1.003, allocations: 0.9527 MB / 0.9144 GB, free: 28 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00575/1.009, allocations: 2.959 MB / 0.9173 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.009, allocations: 0 / 0.9173 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.743e-06/1.009, allocations: 0 / 0.9173 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.432e-05/1.009, allocations: 0 / 0.9173 GB, free: 13.06 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.003808/1.013, allocations: 2.09 MB / 0.9193 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.013, allocations: 9.109 kB / 0.9193 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/1.015, allocations: 406.5 kB / 0.9197 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/1.017, allocations: 1.172 MB / 0.9209 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/1.017, allocations: 102.6 kB / 0.921 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/1.018, allocations: 147.9 kB / 0.9211 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/1.02, allocations: 1.575 MB / 0.9227 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/1.02, allocations: 11.94 kB / 0.9227 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/1.021, allocations: 56 kB / 0.9227 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.689e-05/1.021, allocations: 50.44 kB / 0.9228 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/1.023, allocations: 1.286 MB / 0.924 GB, free: 5.969 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.009299/1.032, allocations: 6.494 MB / 0.9304 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.034, allocations: 0.8926 MB / 0.9312 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006963/1.034, allocations: 454.4 kB / 0.9317 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/1.035, allocations: 417 kB / 0.9321 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.035, allocations: 39.22 kB / 0.9321 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/1.035, allocations: 3.938 kB / 0.9321 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005938/1.041, allocations: 2.961 MB / 0.935 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.041, allocations: 64.41 kB / 0.9351 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/1.043, allocations: 1.197 MB / 0.9362 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.434e-05/1.043, allocations: 45.7 kB / 0.9363 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/1.044, allocations: 0.6891 MB / 0.9369 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/1.044, allocations: 313.3 kB / 0.9372 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/1.044, allocations: 198.6 kB / 0.9374 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.045, allocations: 353.9 kB / 0.9378 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/1.045, allocations: 373.8 kB / 0.9381 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/1.046, allocations: 0.7286 MB / 0.9388 GB, free: 5.957 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.01165/1.058, allocations: 2.902 MB / 0.9417 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.058, allocations: 4 kB / 0.9417 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002394/1.06, allocations: 1.301 MB / 0.9429 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.06, allocations: 8 kB / 0.943 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.06, allocations: 8 kB / 0.943 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/1.061, allocations: 139.2 kB / 0.9431 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/1.061, allocations: 203.7 kB / 0.9433 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/1.067, allocations: 5.388 MB / 0.9486 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.068, allocations: 51.92 kB / 0.9486 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.068, allocations: 44 kB / 0.9486 GB, free: 11.35 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.0007975/1.069, allocations: 433.2 kB / 0.9491 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/1.069, allocations: 155.1 kB / 0.9492 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/1.071, allocations: 1.082 MB / 0.9503 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.071, allocations: 8 kB / 0.9503 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/1.071, allocations: 0 / 0.9503 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/1.073, allocations: 1.051 MB / 0.9513 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/1.078, allocations: 3.094 MB / 0.9543 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/1.078, allocations: 4.812 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/1.079, allocations: 159.7 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/1.079, allocations: 126.5 kB / 0.9546 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/1.079, allocations: 24 kB / 0.9546 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005185/1.085, allocations: 5.37 MB / 0.9599 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.085, allocations: 7.938 kB / 0.9599 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/1.088, allocations: 1.77 MB / 0.9616 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/1.088, allocations: 328 kB / 0.9619 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.088, allocations: 24 kB / 0.9619 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/1.089, allocations: 30.39 kB / 0.962 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.089, allocations: 72.36 kB / 0.962 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/1.089, allocations: 39.98 kB / 0.9621 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001279/1.091, allocations: 0.8421 MB / 0.9629 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/1.091, allocations: 0 / 0.9629 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001549/1.092, allocations: 407.9 kB / 0.9633 GB, free: 11.53 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.0006195/1.093, allocations: 253.4 kB / 0.9635 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.095, allocations: 1.257 MB / 0.9647 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.095, allocations: 0.5625 kB / 0.9647 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.096, allocations: 0.7775 MB / 0.9655 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/1.1, allocations: 0.8932 MB / 0.9664 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/1.105, allocations: 2.979 MB / 0.9693 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.106, allocations: 1.359 MB / 0.9706 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/1.106, allocations: 115.4 kB / 0.9707 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/1.106, allocations: 0 / 0.9707 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of Templates: time 0.05927/1.166, allocations: 43.37 MB / 1.013 GB, free: 8.496 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)