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.00146/0.00146, allocations: 102 kB / 16.4 MB, free: 6.504 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.00155/0.00155, allocations: 185.5 kB / 17.34 MB, free: 5.77 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7926/0.7926, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 60.53 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 80.94 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.6107/0.7582, allocations: 169.5 MB / 0.8308 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009506/0.7677, allocations: 7.312 MB / 0.8379 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006681/0.7684, allocations: 11.84 kB / 0.838 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008425/0.7693, allocations: 215.3 kB / 0.8382 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.7711, allocations: 0.5704 MB / 0.8387 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.7725, allocations: 435.2 kB / 0.8391 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.7737, allocations: 0.6983 MB / 0.8398 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.7742, allocations: 268.4 kB / 0.8401 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009389/0.7752, allocations: 387.8 kB / 0.8404 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.7756, allocations: 216.9 kB / 0.8406 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.7757, allocations: 20.81 kB / 0.8407 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.7771, allocations: 0.7042 MB / 0.8414 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.7773, allocations: 102.8 kB / 0.8415 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.7776, allocations: 159.8 kB / 0.8416 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.7788, allocations: 0.5736 MB / 0.8422 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.7788, allocations: 3.938 kB / 0.8422 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7788, allocations: 3.938 kB / 0.8422 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.7789, allocations: 4 kB / 0.8422 GB, free: 5.5 MB / 0.6075 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.001092/0.78, allocations: 0.6367 MB / 0.8428 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.78, allocations: 8.516 kB / 0.8428 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/0.7804, allocations: 67.2 kB / 0.8429 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.781, allocations: 315 kB / 0.8432 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.781, allocations: 18.53 kB / 0.8432 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.7811, allocations: 25.44 kB / 0.8432 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.7816, allocations: 306.9 kB / 0.8435 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7816, allocations: 2.094 kB / 0.8435 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.7816, allocations: 6.531 kB / 0.8435 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.7816, allocations: 9.406 kB / 0.8435 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.782, allocations: 181.9 kB / 0.8437 GB, free: 4.25 MB / 0.6075 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.001731/0.7837, allocations: 1.697 MB / 0.8454 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.784, allocations: 92.5 kB / 0.8454 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.7842, allocations: 84.88 kB / 0.8455 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.7845, allocations: 186.3 kB / 0.8457 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.7845, allocations: 37.31 kB / 0.8457 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.7845, allocations: 0 / 0.8457 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006924/0.7852, allocations: 221 kB / 0.8459 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.7853, allocations: 53.97 kB / 0.846 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.7856, allocations: 322.2 kB / 0.8463 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.7856, allocations: 29.7 kB / 0.8463 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.7858, allocations: 198 kB / 0.8465 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.7858, allocations: 38.41 kB / 0.8466 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.7859, allocations: 43.55 kB / 0.8466 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.786, allocations: 342.1 kB / 0.8469 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.7862, allocations: 59.48 kB / 0.847 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.7864, allocations: 196.5 kB / 0.8472 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.7868, allocations: 237.3 kB / 0.8474 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7868, allocations: 0 / 0.8474 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004799/0.7873, allocations: 252.4 kB / 0.8476 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7873, allocations: 11.62 kB / 0.8477 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7874, allocations: 10.22 kB / 0.8477 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7874, allocations: 5.281 kB / 0.8477 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.7876, allocations: 51.12 kB / 0.8477 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7876, allocations: 11.38 kB / 0.8477 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.7879, allocations: 32.11 kB / 0.8478 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.7879, allocations: 14.12 kB / 0.8478 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002189/0.7881, allocations: 170 kB / 0.8479 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002141/0.7884, allocations: 200 kB / 0.8481 GB, free: 320 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003188/0.7887, allocations: 238.5 kB / 0.8483 GB, free: 104 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.7887, allocations: 0 / 0.8483 GB, free: 104 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004448/0.7891, allocations: 244.5 kB / 0.8486 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7892, allocations: 8.281 kB / 0.8486 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.7892, allocations: 6.406 kB / 0.8486 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.7892, allocations: 5.297 kB / 0.8486 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.7894, allocations: 51.08 kB / 0.8487 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.7894, allocations: 8.969 kB / 0.8487 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.7896, allocations: 28.48 kB / 0.8487 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.7896, allocations: 21.22 kB / 0.8487 GB, free: 15.92 MB / 0.6231 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.0001163/0.7898, allocations: 193.5 kB / 0.8489 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.7898, allocations: 36.22 kB / 0.8489 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.7902, allocations: 165.1 kB / 0.8491 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7902, allocations: 2.656 kB / 0.8491 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7902, allocations: 0 / 0.8491 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7902, allocations: 0 / 0.8491 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.7911, allocations: 0.6115 MB / 0.8497 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7911, allocations: 2.969 kB / 0.8497 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.7912, allocations: 21.55 kB / 0.8497 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.7912, allocations: 8.906 kB / 0.8497 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7912, allocations: 2.906 kB / 0.8497 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7912, allocations: 6.688 kB / 0.8497 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7912, allocations: 3.938 kB / 0.8497 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.7916, allocations: 306.3 kB / 0.85 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/0.7917, allocations: 113.5 kB / 0.8501 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.7918, allocations: 2.688 kB / 0.8501 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.7919, allocations: 23.39 kB / 0.8502 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.792, allocations: 17.27 kB / 0.8502 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.792, allocations: 5.062 kB / 0.8502 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002058/0.7922, allocations: 230.2 kB / 0.8504 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7922, allocations: 0 / 0.8504 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005629/0.7928, allocations: 130.5 kB / 0.8505 GB, free: 14.47 MB / 0.6231 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.0003756/0.7932, allocations: 160 kB / 0.8507 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.7937, allocations: 251.4 kB / 0.8509 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7938, allocations: 0 / 0.8509 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.7939, allocations: 71.33 kB / 0.851 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.7946, allocations: 128.8 kB / 0.8511 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.7954, allocations: 0.5179 MB / 0.8516 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.7957, allocations: 0.7759 MB / 0.8524 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.7958, allocations: 31.69 kB / 0.8524 GB, free: 13 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.7958, allocations: 0 / 0.8524 GB, free: 13 MB / 0.6231 GB Notification: Performance of Templates: time 0.007837/0.8037, allocations: 4.513 MB / 0.8568 GB, free: 10.43 MB / 0.6231 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)