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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7511/0.7511, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 404.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 111 kB / 485.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 55.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1444, allocations: 80.42 MB / 0.6421 GB, free: 5.414 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4861/0.6306, allocations: 167.2 MB / 0.8054 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008251/0.6389, allocations: 7.326 MB / 0.8126 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.6396, allocations: 11.94 kB / 0.8126 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.6403, allocations: 171 kB / 0.8128 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.642, allocations: 0.5453 MB / 0.8133 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.6432, allocations: 380.6 kB / 0.8137 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.6443, allocations: 1.033 MB / 0.8147 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.6447, allocations: 226.3 kB / 0.8149 GB, free: 284 kB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.6453, allocations: 350.6 kB / 0.8152 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.6456, allocations: 231 kB / 0.8154 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.6457, allocations: 12 kB / 0.8154 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.6469, allocations: 0.7872 MB / 0.8162 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.647, allocations: 103.7 kB / 0.8163 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.6472, allocations: 151.2 kB / 0.8165 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.648, allocations: 0.5764 MB / 0.817 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.648, allocations: 3.984 kB / 0.817 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.72e-07/0.648, allocations: 0 / 0.817 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.648, allocations: 0 / 0.817 GB, free: 14.07 MB / 0.5573 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.0009073/0.6489, allocations: 0.6543 MB / 0.8177 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.649, allocations: 8.031 kB / 0.8177 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.6493, allocations: 64.11 kB / 0.8177 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.6497, allocations: 306.1 kB / 0.818 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.6497, allocations: 16.44 kB / 0.818 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.6498, allocations: 24 kB / 0.8181 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.6502, allocations: 300.6 kB / 0.8184 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6503, allocations: 3.938 kB / 0.8184 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.6503, allocations: 16 kB / 0.8184 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.6503, allocations: 4 kB / 0.8184 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.6507, allocations: 179.4 kB / 0.8185 GB, free: 12.39 MB / 0.5573 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.001606/0.6523, allocations: 1.694 MB / 0.8202 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.6525, allocations: 90.56 kB / 0.8203 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.6527, allocations: 80.78 kB / 0.8204 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.653, allocations: 194.1 kB / 0.8205 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.653, allocations: 34.55 kB / 0.8206 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.653, allocations: 7.938 kB / 0.8206 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0006481/0.6537, allocations: 219.1 kB / 0.8208 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.6537, allocations: 55.41 kB / 0.8209 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.654, allocations: 316.5 kB / 0.8212 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.6541, allocations: 25.7 kB / 0.8212 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.6542, allocations: 207.7 kB / 0.8214 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.6542, allocations: 31.55 kB / 0.8214 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.6543, allocations: 53.61 kB / 0.8215 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6545, allocations: 334.8 kB / 0.8218 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.6546, allocations: 60.81 kB / 0.8218 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.6549, allocations: 202.3 kB / 0.822 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.6552, allocations: 237.5 kB / 0.8223 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6552, allocations: 0 / 0.8223 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004657/0.6557, allocations: 264.9 kB / 0.8225 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6557, allocations: 8 kB / 0.8225 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6557, allocations: 4.703 kB / 0.8225 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6558, allocations: 8.391 kB / 0.8225 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.6559, allocations: 47.92 kB / 0.8226 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.656, allocations: 4 kB / 0.8226 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.6562, allocations: 43.69 kB / 0.8226 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.6562, allocations: 12 kB / 0.8226 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00022/0.6565, allocations: 168.1 kB / 0.8228 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002309/0.6567, allocations: 195.7 kB / 0.823 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003412/0.6571, allocations: 225.5 kB / 0.8232 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.6571, allocations: 10.19 kB / 0.8232 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004366/0.6575, allocations: 252.8 kB / 0.8234 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.6575, allocations: 8.406 kB / 0.8234 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6575, allocations: 4 kB / 0.8235 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.6576, allocations: 8 kB / 0.8235 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.6577, allocations: 51.91 kB / 0.8235 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6577, allocations: 4 kB / 0.8235 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.658, allocations: 35.81 kB / 0.8235 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.658, allocations: 12 kB / 0.8236 GB, free: 6.797 MB / 0.5573 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.0001051/0.6581, allocations: 197.5 kB / 0.8237 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.6582, allocations: 35.56 kB / 0.8238 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.6585, allocations: 168.3 kB / 0.8239 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6586, allocations: 0 / 0.8239 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6586, allocations: 0 / 0.8239 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6586, allocations: 0 / 0.8239 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.6594, allocations: 0.6093 MB / 0.8245 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.6595, allocations: 4 kB / 0.8245 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6596, allocations: 20.2 kB / 0.8246 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.6596, allocations: 9.688 kB / 0.8246 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.6596, allocations: 11.94 kB / 0.8246 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6596, allocations: 0 / 0.8246 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.6596, allocations: 7.938 kB / 0.8246 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.6604, allocations: 0.9446 MB / 0.8255 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6605, allocations: 116.7 kB / 0.8256 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.6606, allocations: 4 kB / 0.8256 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.6608, allocations: 19.98 kB / 0.8256 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.6608, allocations: 11.92 kB / 0.8257 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.6608, allocations: 4 kB / 0.8257 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002003/0.661, allocations: 231 kB / 0.8259 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.661, allocations: 0 / 0.8259 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007064/0.6618, allocations: 139.8 kB / 0.826 GB, free: 4.094 MB / 0.5573 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.0003481/0.6621, allocations: 171.9 kB / 0.8262 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005414/0.6627, allocations: 240.7 kB / 0.8264 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6627, allocations: 0 / 0.8264 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.6628, allocations: 67.83 kB / 0.8265 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.6638, allocations: 138.8 kB / 0.8266 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.6648, allocations: 0.7087 MB / 0.8273 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.6652, allocations: 0.7797 MB / 0.8281 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002609/0.6655, allocations: 95.02 kB / 0.8281 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.6655, allocations: 27.44 kB / 0.8282 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of SimCode: time 2.1e-07/0.6655, allocations: 0 / 0.8282 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of Templates: time 0.008846/0.6744, allocations: 4.852 MB / 0.8329 GB, free: 13 MB / 0.573 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)