Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001091/0.001091, allocations: 110.4 kB / 16.37 MB, free: 6.016 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.001069/0.001069, allocations: 194.3 kB / 17.31 MB, free: 5.613 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 4.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.92/0.92, allocations: 135.1 MB / 426.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.94 kB / 0.5068 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.148, allocations: 80.93 MB / 0.5858 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4267/0.5748, allocations: 169.4 MB / 0.7512 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008078/0.5829, allocations: 7.31 MB / 0.7584 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.5835, allocations: 13.53 kB / 0.7584 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.5843, allocations: 214 kB / 0.7586 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.5863, allocations: 0.5692 MB / 0.7592 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.5877, allocations: 439.5 kB / 0.7596 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.5888, allocations: 0.707 MB / 0.7603 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.5892, allocations: 272.4 kB / 0.7605 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006298/0.5898, allocations: 378.5 kB / 0.7609 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.5901, allocations: 218.9 kB / 0.7611 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.5901, allocations: 20 kB / 0.7611 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5912, allocations: 0.7016 MB / 0.7618 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5914, allocations: 111.6 kB / 0.7619 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.5916, allocations: 159.2 kB / 0.7621 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.5925, allocations: 0.5764 MB / 0.7626 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5925, allocations: 0 / 0.7626 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5925, allocations: 0 / 0.7626 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5926, allocations: 4 kB / 0.7626 GB, free: 7.359 MB / 0.5762 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.0009683/0.5935, allocations: 0.6424 MB / 0.7633 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5936, allocations: 12.03 kB / 0.7633 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.5939, allocations: 63.5 kB / 0.7633 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.5944, allocations: 326.1 kB / 0.7636 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.5945, allocations: 16.44 kB / 0.7637 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.5945, allocations: 20 kB / 0.7637 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.595, allocations: 302.1 kB / 0.764 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.595, allocations: 3.938 kB / 0.764 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.595, allocations: 12 kB / 0.764 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.595, allocations: 4 kB / 0.764 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.5954, allocations: 183.7 kB / 0.7642 GB, free: 5.672 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.001631/0.597, allocations: 1.689 MB / 0.7658 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.5973, allocations: 86.56 kB / 0.7659 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.5975, allocations: 84 kB / 0.766 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.5977, allocations: 186.2 kB / 0.7661 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5978, allocations: 38.5 kB / 0.7662 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.5978, allocations: 0 / 0.7662 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006635/0.5985, allocations: 225.1 kB / 0.7664 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5985, allocations: 51.41 kB / 0.7664 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.5989, allocations: 324.5 kB / 0.7668 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5989, allocations: 29.7 kB / 0.7668 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.599, allocations: 195.8 kB / 0.767 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.5991, allocations: 43.44 kB / 0.767 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.5992, allocations: 53.61 kB / 0.7671 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5993, allocations: 334.8 kB / 0.7674 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5995, allocations: 60.81 kB / 0.7674 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.5997, allocations: 199.7 kB / 0.7676 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.6001, allocations: 229.5 kB / 0.7678 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.6001, allocations: 4 kB / 0.7679 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004502/0.6005, allocations: 257.2 kB / 0.7681 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6006, allocations: 8.031 kB / 0.7681 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6006, allocations: 4 kB / 0.7681 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6006, allocations: 11.56 kB / 0.7681 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.6008, allocations: 51.84 kB / 0.7682 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.6008, allocations: 8 kB / 0.7682 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.601, allocations: 35.67 kB / 0.7682 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.6011, allocations: 15.98 kB / 0.7682 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002232/0.6013, allocations: 168.1 kB / 0.7684 GB, free: 1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002308/0.6015, allocations: 198.1 kB / 0.7686 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003169/0.6019, allocations: 225.5 kB / 0.7688 GB, free: 488 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.6019, allocations: 0 / 0.7688 GB, free: 488 kB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000409/0.6023, allocations: 261.3 kB / 0.769 GB, free: 220 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.6023, allocations: 12.03 kB / 0.769 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.6023, allocations: 4 kB / 0.7691 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.197e-06/0.6023, allocations: 4 kB / 0.7691 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.6025, allocations: 47.92 kB / 0.7691 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6025, allocations: 7.984 kB / 0.7691 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.6027, allocations: 27.83 kB / 0.7691 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.6027, allocations: 12 kB / 0.7691 GB, free: 104 kB / 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.0001173/0.6029, allocations: 197.5 kB / 0.7693 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.6029, allocations: 31.66 kB / 0.7694 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.6033, allocations: 168.3 kB / 0.7695 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.6033, allocations: 0 / 0.7695 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6033, allocations: 0 / 0.7695 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6033, allocations: 7.984 kB / 0.7695 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.6042, allocations: 0.6014 MB / 0.7701 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6042, allocations: 4 kB / 0.7701 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.6043, allocations: 23.98 kB / 0.7701 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6043, allocations: 8.156 kB / 0.7702 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6043, allocations: 8 kB / 0.7702 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6043, allocations: 4 kB / 0.7702 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.6044, allocations: 3.938 kB / 0.7702 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.6047, allocations: 301.9 kB / 0.7705 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.6049, allocations: 112.8 kB / 0.7706 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.6049, allocations: 4 kB / 0.7706 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.6051, allocations: 13.17 kB / 0.7706 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.6051, allocations: 19.92 kB / 0.7706 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.6051, allocations: 8 kB / 0.7706 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002123/0.6054, allocations: 227 kB / 0.7708 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6054, allocations: 0 / 0.7708 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005379/0.6059, allocations: 127.8 kB / 0.7709 GB, free: 14.11 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.0003329/0.6063, allocations: 177.7 kB / 0.7711 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.6068, allocations: 252.9 kB / 0.7714 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6068, allocations: 0 / 0.7714 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.6069, allocations: 64.09 kB / 0.7714 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.6076, allocations: 117.4 kB / 0.7715 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.6083, allocations: 0.5069 MB / 0.772 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.6086, allocations: 0.7795 MB / 0.7728 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.6088, allocations: 79.55 kB / 0.7729 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.6089, allocations: 31.44 kB / 0.7729 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.6089, allocations: 0 / 0.7729 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of Templates: time 0.008337/0.6173, allocations: 4.878 MB / 0.7777 GB, free: 7.289 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)