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.005335/0.005336, allocations: 101 kB / 15.73 MB, free: 5.988 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.001188/0.001188, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9458/0.9458, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 63.91 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.464, allocations: 80.92 MB / 0.6647 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.2082/0.6722, allocations: 169.5 MB / 0.8301 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.6826, allocations: 7.317 MB / 0.8373 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.6833, allocations: 11.94 kB / 0.8373 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009332/0.6842, allocations: 214.7 kB / 0.8375 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.686, allocations: 0.5951 MB / 0.8381 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.6874, allocations: 440 kB / 0.8385 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.6886, allocations: 0.701 MB / 0.8392 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.6891, allocations: 271.1 kB / 0.8394 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/0.69, allocations: 386.5 kB / 0.8398 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.6904, allocations: 223 kB / 0.84 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.6904, allocations: 20 kB / 0.84 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.6917, allocations: 0.7055 MB / 0.8407 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.6919, allocations: 111.6 kB / 0.8408 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.6922, allocations: 159.1 kB / 0.841 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.6932, allocations: 0.5745 MB / 0.8416 GB, free: 11.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6933, allocations: 0 / 0.8416 GB, free: 11.82 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6933, allocations: 0 / 0.8416 GB, free: 11.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.6933, allocations: 0 / 0.8416 GB, free: 11.82 MB / 0.67 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.001063/0.6944, allocations: 0.6427 MB / 0.8422 GB, free: 11.13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6944, allocations: 12.03 kB / 0.8422 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.6948, allocations: 63.58 kB / 0.8423 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.6953, allocations: 318.1 kB / 0.8426 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.6954, allocations: 16.44 kB / 0.8426 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.6954, allocations: 31.92 kB / 0.8426 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.6959, allocations: 300.6 kB / 0.8429 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6959, allocations: 3.984 kB / 0.8429 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.696, allocations: 12 kB / 0.8429 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.696, allocations: 8 kB / 0.8429 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.6964, allocations: 175.8 kB / 0.8431 GB, free: 10.13 MB / 0.67 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.001605/0.698, allocations: 1.694 MB / 0.8447 GB, free: 8.312 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.6982, allocations: 90.56 kB / 0.8448 GB, free: 8.215 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.6984, allocations: 76.86 kB / 0.8449 GB, free: 8.137 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.6987, allocations: 186.2 kB / 0.8451 GB, free: 7.918 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.6987, allocations: 34.56 kB / 0.8451 GB, free: 7.875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.6987, allocations: 0 / 0.8451 GB, free: 7.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0006937/0.6994, allocations: 233 kB / 0.8453 GB, free: 7.641 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.6995, allocations: 51.41 kB / 0.8454 GB, free: 7.578 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.6998, allocations: 320.5 kB / 0.8457 GB, free: 7.262 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.6999, allocations: 29.7 kB / 0.8457 GB, free: 7.227 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.7, allocations: 199.8 kB / 0.8459 GB, free: 7.023 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.7001, allocations: 43.45 kB / 0.8459 GB, free: 6.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.7002, allocations: 45.7 kB / 0.846 GB, free: 6.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7003, allocations: 342.8 kB / 0.8463 GB, free: 6.586 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.7005, allocations: 60.83 kB / 0.8464 GB, free: 6.523 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.7007, allocations: 193 kB / 0.8466 GB, free: 6.273 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.7011, allocations: 237.4 kB / 0.8468 GB, free: 5.992 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7011, allocations: 8 kB / 0.8468 GB, free: 5.984 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004726/0.7016, allocations: 252.8 kB / 0.847 GB, free: 5.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7016, allocations: 4.406 kB / 0.847 GB, free: 5.727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7016, allocations: 7.938 kB / 0.847 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7017, allocations: 12 kB / 0.8471 GB, free: 5.707 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.7019, allocations: 47.91 kB / 0.8471 GB, free: 5.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.7019, allocations: 8 kB / 0.8471 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.7021, allocations: 39.67 kB / 0.8471 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.7022, allocations: 15.94 kB / 0.8472 GB, free: 5.598 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002343/0.7024, allocations: 168.1 kB / 0.8473 GB, free: 5.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002397/0.7027, allocations: 203.9 kB / 0.8475 GB, free: 5.172 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003447/0.703, allocations: 233.5 kB / 0.8477 GB, free: 4.895 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-05/0.703, allocations: 8 kB / 0.8477 GB, free: 4.887 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000447/0.7035, allocations: 240.9 kB / 0.848 GB, free: 4.645 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7035, allocations: 8 kB / 0.848 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.7035, allocations: 8.344 kB / 0.848 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.7035, allocations: 8 kB / 0.848 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.7037, allocations: 43.97 kB / 0.848 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.7037, allocations: 7.938 kB / 0.8481 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.704, allocations: 27.83 kB / 0.8481 GB, free: 4.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.704, allocations: 19.98 kB / 0.8481 GB, free: 4.523 MB / 0.67 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.0001142/0.7041, allocations: 197.7 kB / 0.8483 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.7042, allocations: 27.91 kB / 0.8483 GB, free: 4.297 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.7046, allocations: 172.4 kB / 0.8485 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7046, allocations: 3.984 kB / 0.8485 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7046, allocations: 0 / 0.8485 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7046, allocations: 4 kB / 0.8485 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.7055, allocations: 0.6054 MB / 0.8491 GB, free: 3.434 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.7055, allocations: 4 kB / 0.8491 GB, free: 3.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.7057, allocations: 23.98 kB / 0.8491 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7057, allocations: 0 / 0.8491 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7057, allocations: 12.16 kB / 0.8491 GB, free: 3.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.7057, allocations: 7.938 kB / 0.8491 GB, free: 3.387 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7057, allocations: 0 / 0.8491 GB, free: 3.387 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.7061, allocations: 305 kB / 0.8494 GB, free: 3.051 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.7062, allocations: 112.7 kB / 0.8495 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.7063, allocations: 15.88 kB / 0.8495 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.7065, allocations: 7.984 kB / 0.8495 GB, free: 2.898 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.7065, allocations: 11.98 kB / 0.8496 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.7065, allocations: 12 kB / 0.8496 GB, free: 2.875 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002206/0.7068, allocations: 227 kB / 0.8498 GB, free: 2.652 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7068, allocations: 0 / 0.8498 GB, free: 2.652 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005622/0.7073, allocations: 127.8 kB / 0.8499 GB, free: 2.527 MB / 0.67 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.0003825/0.7077, allocations: 169.1 kB / 0.8501 GB, free: 2.359 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005756/0.7083, allocations: 241.1 kB / 0.8503 GB, free: 2.125 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7083, allocations: 0 / 0.8503 GB, free: 2.125 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.7085, allocations: 72.94 kB / 0.8504 GB, free: 2.055 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/0.7093, allocations: 125.9 kB / 0.8505 GB, free: 1.934 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/0.7101, allocations: 0.4894 MB / 0.851 GB, free: 1.398 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.7104, allocations: 0.7795 MB / 0.8517 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.7107, allocations: 74.91 kB / 0.8518 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.7107, allocations: 27.44 kB / 0.8518 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of SimCode: time 2.31e-07/0.7108, allocations: 0 / 0.8518 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of Templates: time 0.009186/0.7199, allocations: 4.908 MB / 0.8566 GB, free: 11.66 MB / 0.6856 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)