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.0009312/0.0009312, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 192.5 kB / 16.53 MB, free: 6.391 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 / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7231/0.7231, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.83 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3944, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.2001/0.5945, allocations: 169.5 MB / 0.7456 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008751/0.6033, allocations: 7.322 MB / 0.7527 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007129/0.6041, allocations: 11.94 kB / 0.7527 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.6049, allocations: 210.6 kB / 0.7529 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.6066, allocations: 0.5755 MB / 0.7535 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.6079, allocations: 434.2 kB / 0.7539 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008499/0.6087, allocations: 0.7012 MB / 0.7546 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004858/0.6092, allocations: 259.1 kB / 0.7548 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006516/0.6099, allocations: 382.5 kB / 0.7552 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.6102, allocations: 219 kB / 0.7554 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.6102, allocations: 20 kB / 0.7554 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.6114, allocations: 0.7015 MB / 0.7561 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.6115, allocations: 103.7 kB / 0.7562 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.6116, allocations: 155.2 kB / 0.7564 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.6124, allocations: 0.5686 MB / 0.7569 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6124, allocations: 0 / 0.7569 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6124, allocations: 0 / 0.7569 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.6125, allocations: 0 / 0.7569 GB, free: 11.8 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008971/0.6134, allocations: 0.6466 MB / 0.7576 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6134, allocations: 8.031 kB / 0.7576 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.6138, allocations: 67.44 kB / 0.7576 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.6142, allocations: 302.2 kB / 0.7579 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.6142, allocations: 20.44 kB / 0.7579 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.6142, allocations: 20 kB / 0.7579 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.6147, allocations: 312.5 kB / 0.7582 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6148, allocations: 3.984 kB / 0.7583 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.6148, allocations: 8 kB / 0.7583 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.6148, allocations: 8 kB / 0.7583 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.6152, allocations: 171.8 kB / 0.7584 GB, free: 10.12 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.001758/0.617, allocations: 1.709 MB / 0.7601 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.6173, allocations: 90.5 kB / 0.7602 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.6174, allocations: 80.86 kB / 0.7603 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002839/0.6177, allocations: 186.2 kB / 0.7604 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.6178, allocations: 38.56 kB / 0.7605 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.6178, allocations: 4 kB / 0.7605 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006734/0.6184, allocations: 224.4 kB / 0.7607 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.6185, allocations: 51.41 kB / 0.7607 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.6188, allocations: 324.5 kB / 0.7611 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6189, allocations: 29.7 kB / 0.7611 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.619, allocations: 207.7 kB / 0.7613 GB, free: 7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.619, allocations: 31.55 kB / 0.7613 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.6191, allocations: 53.61 kB / 0.7614 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6193, allocations: 338.8 kB / 0.7617 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.6194, allocations: 56.81 kB / 0.7617 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.6197, allocations: 196.9 kB / 0.7619 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.6201, allocations: 241.5 kB / 0.7622 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6201, allocations: 3.938 kB / 0.7622 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004488/0.6205, allocations: 256.8 kB / 0.7624 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6206, allocations: 4 kB / 0.7624 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6206, allocations: 4.406 kB / 0.7624 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6206, allocations: 12 kB / 0.7624 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.6208, allocations: 47.91 kB / 0.7625 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.6208, allocations: 4 kB / 0.7625 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.6211, allocations: 31.77 kB / 0.7625 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.6211, allocations: 16 kB / 0.7625 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002265/0.6213, allocations: 172 kB / 0.7627 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000225/0.6216, allocations: 193 kB / 0.7629 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003329/0.6219, allocations: 229.5 kB / 0.7631 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.469e-06/0.6219, allocations: 4 kB / 0.7631 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004255/0.6224, allocations: 253 kB / 0.7633 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.6224, allocations: 11.98 kB / 0.7633 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6224, allocations: 4.406 kB / 0.7633 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6224, allocations: 11.94 kB / 0.7634 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.6226, allocations: 39.98 kB / 0.7634 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.6226, allocations: 11.92 kB / 0.7634 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.6228, allocations: 31.83 kB / 0.7634 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6228, allocations: 8 kB / 0.7634 GB, free: 4.523 MB / 0.5919 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.0001155/0.623, allocations: 200.1 kB / 0.7636 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.623, allocations: 23.72 kB / 0.7637 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.6234, allocations: 168.3 kB / 0.7638 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6234, allocations: 0 / 0.7638 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6234, allocations: 4 kB / 0.7638 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6234, allocations: 3.938 kB / 0.7638 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.6243, allocations: 0.6132 MB / 0.7644 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6243, allocations: 4 kB / 0.7644 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6244, allocations: 23.98 kB / 0.7645 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6244, allocations: 0 / 0.7645 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.6245, allocations: 4 kB / 0.7645 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.6245, allocations: 20.09 kB / 0.7645 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6245, allocations: 0 / 0.7645 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.6249, allocations: 305 kB / 0.7648 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.625, allocations: 112.8 kB / 0.7649 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.625, allocations: 4 kB / 0.7649 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.6252, allocations: 15.92 kB / 0.7649 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.6253, allocations: 15.98 kB / 0.7649 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.6253, allocations: 4 kB / 0.7649 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002179/0.6255, allocations: 227 kB / 0.7651 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.683e-06/0.6255, allocations: 0 / 0.7651 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005588/0.6261, allocations: 135.7 kB / 0.7653 GB, free: 2.52 MB / 0.5919 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.0004695/0.6265, allocations: 170.9 kB / 0.7654 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005795/0.6271, allocations: 247.5 kB / 0.7657 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6271, allocations: 1.625 kB / 0.7657 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.6273, allocations: 64.28 kB / 0.7657 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.6281, allocations: 136.1 kB / 0.7659 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008508/0.629, allocations: 0.4889 MB / 0.7663 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6293, allocations: 0.7834 MB / 0.7671 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000266/0.6296, allocations: 83.55 kB / 0.7672 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.6297, allocations: 27.44 kB / 0.7672 GB, free: 484 kB / 0.5919 GB Notification: Performance of SimCode: time 1.893e-06/0.6297, allocations: 3.938 kB / 0.7672 GB, free: 480 kB / 0.5919 GB Notification: Performance of Templates: time 0.009751/0.6394, allocations: 4.855 MB / 0.7719 GB, free: 11.7 MB / 0.6075 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)