Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001281/0.001281, allocations: 196.3 kB / 16.14 MB, free: 6.688 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7688/0.7688, allocations: 132.2 MB / 422.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 64.23 kB / 0.5011 GB, free: 9.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1915, allocations: 80.2 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4883/0.6798, allocations: 167.2 MB / 0.7427 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.69, allocations: 7.325 MB / 0.7499 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007869/0.6909, allocations: 8.75 kB / 0.7499 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.6917, allocations: 177.4 kB / 0.75 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.6935, allocations: 0.5462 MB / 0.7506 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.6949, allocations: 385.9 kB / 0.751 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.6961, allocations: 1.022 MB / 0.7519 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.6965, allocations: 225.5 kB / 0.7522 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007333/0.6973, allocations: 345.1 kB / 0.7525 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.6976, allocations: 235.9 kB / 0.7527 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.6976, allocations: 12.31 kB / 0.7527 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.6989, allocations: 0.7767 MB / 0.7535 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.6991, allocations: 108.2 kB / 0.7536 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.6992, allocations: 147.8 kB / 0.7537 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008584/0.7001, allocations: 0.5842 MB / 0.7543 GB, free: 232 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7001, allocations: 3.938 kB / 0.7543 GB, free: 228 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7001, allocations: 3 kB / 0.7543 GB, free: 228 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7001, allocations: 0 / 0.7543 GB, free: 228 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009932/0.7011, allocations: 0.6471 MB / 0.7549 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.7012, allocations: 8.031 kB / 0.7549 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.7016, allocations: 75.42 kB / 0.755 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.702, allocations: 298.2 kB / 0.7553 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.702, allocations: 16.44 kB / 0.7553 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.7021, allocations: 20 kB / 0.7553 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.7025, allocations: 300.6 kB / 0.7556 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.7026, allocations: 7.875 kB / 0.7556 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.7026, allocations: 15.94 kB / 0.7556 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.7026, allocations: 12 kB / 0.7557 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.703, allocations: 171.8 kB / 0.7558 GB, free: 14.64 MB / 0.5762 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.001628/0.7046, allocations: 1.687 MB / 0.7575 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.7049, allocations: 86.5 kB / 0.7576 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.7051, allocations: 96.75 kB / 0.7576 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.7055, allocations: 182.2 kB / 0.7578 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7055, allocations: 30.56 kB / 0.7578 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.7055, allocations: 4 kB / 0.7579 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007274/0.7063, allocations: 229.1 kB / 0.7581 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.7063, allocations: 55.39 kB / 0.7581 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.7067, allocations: 320.5 kB / 0.7584 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.7067, allocations: 25.7 kB / 0.7585 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.7069, allocations: 203.7 kB / 0.7586 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.7069, allocations: 35.55 kB / 0.7587 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.707, allocations: 53.61 kB / 0.7587 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7071, allocations: 338.8 kB / 0.7591 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.7073, allocations: 56.81 kB / 0.7591 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.7076, allocations: 191.2 kB / 0.7593 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.7079, allocations: 248.8 kB / 0.7595 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7079, allocations: 0 / 0.7595 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004583/0.7084, allocations: 252.8 kB / 0.7598 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7084, allocations: 4 kB / 0.7598 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7084, allocations: 7.672 kB / 0.7598 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.7085, allocations: 8 kB / 0.7598 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.7086, allocations: 44.31 kB / 0.7598 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7087, allocations: 15.94 kB / 0.7598 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.7089, allocations: 39.75 kB / 0.7599 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.709, allocations: 16 kB / 0.7599 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000239/0.7092, allocations: 164.1 kB / 0.7601 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002376/0.7094, allocations: 190.1 kB / 0.7602 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003428/0.7098, allocations: 233.5 kB / 0.7605 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.7098, allocations: 0 / 0.7605 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004314/0.7102, allocations: 256.8 kB / 0.7607 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.7103, allocations: 8 kB / 0.7607 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7103, allocations: 4 kB / 0.7607 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.7103, allocations: 8.344 kB / 0.7607 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.7105, allocations: 55.91 kB / 0.7608 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.7105, allocations: 7.938 kB / 0.7608 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.7107, allocations: 31.83 kB / 0.7608 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.7107, allocations: 11.98 kB / 0.7608 GB, free: 9.055 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.7109, allocations: 200.1 kB / 0.761 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.7109, allocations: 31.56 kB / 0.7611 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.7113, allocations: 165.5 kB / 0.7612 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7113, allocations: 4 kB / 0.7612 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7113, allocations: 0 / 0.7612 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7114, allocations: 0 / 0.7612 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008664/0.7122, allocations: 0.6132 MB / 0.7618 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.7122, allocations: 0 / 0.7618 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.7124, allocations: 27.98 kB / 0.7618 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7124, allocations: 0 / 0.7618 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.7124, allocations: 8.219 kB / 0.7618 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7124, allocations: 7.938 kB / 0.7619 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.7124, allocations: 3.938 kB / 0.7619 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.7128, allocations: 301 kB / 0.7621 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.7129, allocations: 116.8 kB / 0.7623 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.713, allocations: 4 kB / 0.7623 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.7132, allocations: 11.98 kB / 0.7623 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.7133, allocations: 23.86 kB / 0.7623 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.7133, allocations: 4 kB / 0.7623 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002306/0.7135, allocations: 227 kB / 0.7625 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7135, allocations: 0 / 0.7625 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005809/0.7141, allocations: 135.8 kB / 0.7626 GB, free: 7.051 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003902/0.7145, allocations: 174 kB / 0.7628 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005473/0.7151, allocations: 244.9 kB / 0.763 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.7151, allocations: 0 / 0.763 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.7153, allocations: 72.08 kB / 0.7631 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.7162, allocations: 137.6 kB / 0.7632 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.7171, allocations: 0.587 MB / 0.7638 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.7174, allocations: 0.7719 MB / 0.7646 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.7177, allocations: 87.53 kB / 0.7647 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.7178, allocations: 23.44 kB / 0.7647 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.7178, allocations: 0 / 0.7647 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.008985/0.7268, allocations: 4.749 MB / 0.7693 GB, free: 268 kB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)