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.001156/0.001156, allocations: 110 kB / 16.41 MB, free: 6.5 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.00111/0.00111, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8432/0.8432, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.94 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1637, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.6033/0.7671, allocations: 169.5 MB / 0.8308 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009342/0.7765, allocations: 7.316 MB / 0.8379 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.7773, allocations: 11.41 kB / 0.838 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.7782, allocations: 203.1 kB / 0.8381 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.7802, allocations: 0.5903 MB / 0.8387 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.7817, allocations: 427.5 kB / 0.8391 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.7829, allocations: 0.7056 MB / 0.8398 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.7835, allocations: 262.8 kB / 0.8401 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.7845, allocations: 391.8 kB / 0.8404 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.785, allocations: 211.5 kB / 0.8406 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.7851, allocations: 19.56 kB / 0.8407 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.7865, allocations: 0.7055 MB / 0.8414 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.7866, allocations: 107 kB / 0.8415 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.7869, allocations: 159.7 kB / 0.8416 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.7881, allocations: 0.5783 MB / 0.8422 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.7881, allocations: 0 / 0.8422 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7881, allocations: 0 / 0.8422 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.7881, allocations: 4 kB / 0.8422 GB, free: 5.711 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.001147/0.7893, allocations: 0.6406 MB / 0.8428 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7893, allocations: 11.17 kB / 0.8428 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004134/0.7897, allocations: 61.48 kB / 0.8429 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.7903, allocations: 321.8 kB / 0.8432 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.7904, allocations: 18.59 kB / 0.8432 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.7904, allocations: 20.91 kB / 0.8432 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.7909, allocations: 303.5 kB / 0.8435 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.791, allocations: 9.969 kB / 0.8435 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.791, allocations: 6.625 kB / 0.8435 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.791, allocations: 8.641 kB / 0.8435 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.7914, allocations: 176.8 kB / 0.8437 GB, free: 4.457 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.001773/0.7932, allocations: 1.697 MB / 0.8454 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.7935, allocations: 100.7 kB / 0.8455 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.7936, allocations: 79.89 kB / 0.8455 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.7939, allocations: 182.3 kB / 0.8457 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.794, allocations: 44.47 kB / 0.8457 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.794, allocations: 0 / 0.8457 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006994/0.7947, allocations: 212.4 kB / 0.8459 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.7947, allocations: 55.34 kB / 0.846 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.7951, allocations: 330.7 kB / 0.8463 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.7951, allocations: 29.7 kB / 0.8463 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.7953, allocations: 195.8 kB / 0.8465 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.7953, allocations: 39.83 kB / 0.8466 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.7954, allocations: 50.14 kB / 0.8466 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7955, allocations: 336.1 kB / 0.8469 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.7957, allocations: 58.84 kB / 0.847 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.7959, allocations: 195.2 kB / 0.8472 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.7963, allocations: 234.5 kB / 0.8474 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7963, allocations: 0 / 0.8474 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004761/0.7968, allocations: 253.2 kB / 0.8476 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7968, allocations: 11.66 kB / 0.8477 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7969, allocations: 4.438 kB / 0.8477 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.7969, allocations: 5.375 kB / 0.8477 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.7971, allocations: 47.06 kB / 0.8477 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.7971, allocations: 4.938 kB / 0.8477 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.7974, allocations: 40.55 kB / 0.8478 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.7974, allocations: 16.16 kB / 0.8478 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002288/0.7977, allocations: 166.8 kB / 0.8479 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002499/0.7979, allocations: 210.8 kB / 0.8481 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003536/0.7983, allocations: 236 kB / 0.8484 GB, free: 312 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.7983, allocations: 2.656 kB / 0.8484 GB, free: 312 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004699/0.7988, allocations: 245.3 kB / 0.8486 GB, free: 176 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7988, allocations: 8.875 kB / 0.8486 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7988, allocations: 8.703 kB / 0.8486 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.7988, allocations: 5.625 kB / 0.8486 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.799, allocations: 42.98 kB / 0.8487 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.799, allocations: 4.906 kB / 0.8487 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.7993, allocations: 31.94 kB / 0.8487 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.7993, allocations: 10.69 kB / 0.8487 GB, free: 140 kB / 0.6075 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.0001488/0.7994, allocations: 203.5 kB / 0.8489 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.7995, allocations: 32.28 kB / 0.8489 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.7999, allocations: 166.8 kB / 0.8491 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7999, allocations: 2.75 kB / 0.8491 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7999, allocations: 0 / 0.8491 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7999, allocations: 0 / 0.8491 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.8008, allocations: 0.6086 MB / 0.8497 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8008, allocations: 1.781 kB / 0.8497 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.801, allocations: 28.73 kB / 0.8497 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.801, allocations: 6.031 kB / 0.8497 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.801, allocations: 2.969 kB / 0.8497 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.801, allocations: 10.59 kB / 0.8497 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.801, allocations: 2.438 kB / 0.8497 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.8014, allocations: 307.3 kB / 0.85 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.8016, allocations: 112.8 kB / 0.8501 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.8016, allocations: 3.125 kB / 0.8501 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.8018, allocations: 19.42 kB / 0.8502 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.8019, allocations: 16.48 kB / 0.8502 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.8019, allocations: 5.344 kB / 0.8502 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002259/0.8021, allocations: 226.5 kB / 0.8504 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8021, allocations: 0 / 0.8504 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005974/0.8027, allocations: 130.4 kB / 0.8505 GB, free: 14.68 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.0004292/0.8032, allocations: 161.6 kB / 0.8507 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.8038, allocations: 251.6 kB / 0.8509 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8038, allocations: 0 / 0.8509 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.8039, allocations: 67.36 kB / 0.851 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.8047, allocations: 132.2 kB / 0.8511 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.8056, allocations: 0.521 MB / 0.8516 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.8061, allocations: 0.7724 MB / 0.8524 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.8061, allocations: 27.47 kB / 0.8524 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.8062, allocations: 3.938 kB / 0.8524 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.008105/0.8143, allocations: 4.483 MB / 0.8568 GB, free: 10.61 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)