Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001122/0.001122, allocations: 110 kB / 16.37 MB, free: 6.469 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.001202/0.001202, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.827/0.827, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.368, allocations: 80.18 MB / 0.5815 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5765/0.9446, allocations: 214.6 MB / 0.7911 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.9683, allocations: 21.33 MB / 0.8119 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.9707, allocations: 52.59 kB / 0.812 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.9728, allocations: 0.7385 MB / 0.8127 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009421/0.9823, allocations: 4.24 MB / 0.8168 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.9852, allocations: 1.068 MB / 0.8179 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00508/0.9903, allocations: 3.916 MB / 0.8217 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.9926, allocations: 1.574 MB / 0.8232 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.9963, allocations: 1.625 MB / 0.8248 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/0.9999, allocations: 1.546 MB / 0.8263 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000354/1, allocations: 161.7 kB / 0.8265 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/1.004, allocations: 1.826 MB / 0.8283 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007565/1.005, allocations: 0.7502 MB / 0.829 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/1.006, allocations: 0.9491 MB / 0.8299 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004329/1.011, allocations: 2.933 MB / 0.8328 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.011, allocations: 0 / 0.8328 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/1.011, allocations: 0 / 0.8328 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.398e-05/1.011, allocations: 0 / 0.8328 GB, free: 14.9 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.00343/1.014, allocations: 2.044 MB / 0.8348 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/1.014, allocations: 15.09 kB / 0.8348 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/1.017, allocations: 390.9 kB / 0.8352 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/1.019, allocations: 1.16 MB / 0.8363 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/1.019, allocations: 97.75 kB / 0.8364 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/1.019, allocations: 138.9 kB / 0.8365 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/1.022, allocations: 1.589 MB / 0.8381 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/1.022, allocations: 2.625 kB / 0.8381 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.022, allocations: 52.78 kB / 0.8381 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/1.022, allocations: 50.78 kB / 0.8382 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/1.024, allocations: 1.294 MB / 0.8394 GB, free: 10.71 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.009394/1.033, allocations: 6.476 MB / 0.8458 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/1.035, allocations: 0.9421 MB / 0.8467 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/1.036, allocations: 484.7 kB / 0.8471 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000786/1.036, allocations: 418.9 kB / 0.8475 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.036, allocations: 47.22 kB / 0.8476 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/1.036, allocations: 0 / 0.8476 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.005501/1.042, allocations: 2.936 MB / 0.8505 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/1.042, allocations: 64.41 kB / 0.8505 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/1.044, allocations: 1.193 MB / 0.8517 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/1.044, allocations: 45.7 kB / 0.8517 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/1.044, allocations: 0.6745 MB / 0.8524 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/1.044, allocations: 308.1 kB / 0.8527 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/1.045, allocations: 194.5 kB / 0.8529 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.045, allocations: 349.9 kB / 0.8532 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/1.045, allocations: 365.8 kB / 0.8535 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/1.046, allocations: 0.7403 MB / 0.8543 GB, free: 12.56 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.01164/1.058, allocations: 2.918 MB / 0.8571 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.058, allocations: 3.938 kB / 0.8571 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002376/1.06, allocations: 1.296 MB / 0.8584 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.06, allocations: 11.28 kB / 0.8584 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.06, allocations: 8 kB / 0.8584 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/1.061, allocations: 138.5 kB / 0.8585 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/1.062, allocations: 199.3 kB / 0.8587 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/1.066, allocations: 5.37 MB / 0.864 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.067, allocations: 51.89 kB / 0.864 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.067, allocations: 51.98 kB / 0.8641 GB, free: 2.078 MB / 0.6075 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.0006889/1.068, allocations: 431 kB / 0.8645 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/1.068, allocations: 150.2 kB / 0.8646 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/1.07, allocations: 1.087 MB / 0.8657 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.07, allocations: 12 kB / 0.8657 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.07, allocations: 0 / 0.8657 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/1.071, allocations: 1.055 MB / 0.8667 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/1.076, allocations: 3.083 MB / 0.8697 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.077, allocations: 4 kB / 0.8697 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/1.077, allocations: 166.1 kB / 0.8699 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/1.078, allocations: 129.6 kB / 0.87 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/1.078, allocations: 27.98 kB / 0.87 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004688/1.082, allocations: 5.356 MB / 0.8753 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.082, allocations: 10.53 kB / 0.8753 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/1.085, allocations: 1.769 MB / 0.877 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/1.086, allocations: 311.3 kB / 0.8773 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.086, allocations: 27.94 kB / 0.8773 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/1.087, allocations: 27.98 kB / 0.8774 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.087, allocations: 76.02 kB / 0.8774 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/1.087, allocations: 39.98 kB / 0.8775 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00117/1.088, allocations: 0.8421 MB / 0.8783 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.41e-07/1.088, allocations: 0 / 0.8783 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001565/1.09, allocations: 411.9 kB / 0.8787 GB, free: 2.391 MB / 0.6231 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.0006059/1.09, allocations: 245.5 kB / 0.8789 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002052/1.092, allocations: 1.307 MB / 0.8802 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.092, allocations: 0 / 0.8802 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/1.093, allocations: 0.7834 MB / 0.881 GB, free: 84 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.097, allocations: 0.8957 MB / 0.8818 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/1.102, allocations: 2.825 MB / 0.8846 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.103, allocations: 1.363 MB / 0.8859 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001328/1.105, allocations: 352.6 kB / 0.8863 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/1.105, allocations: 115.4 kB / 0.8864 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of SimCode: time 1.302e-06/1.105, allocations: 0 / 0.8864 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.04891/1.154, allocations: 31.84 MB / 0.9175 GB, free: 11.16 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)