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.001361/0.001361, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001443, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9248/0.9248, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.25 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1796, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4768/0.6564, allocations: 167.2 MB / 0.7476 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008319/0.6648, allocations: 7.336 MB / 0.7548 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006431/0.6655, allocations: 12.09 kB / 0.7548 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.6663, allocations: 178.5 kB / 0.755 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.6678, allocations: 0.5371 MB / 0.7555 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.669, allocations: 382.2 kB / 0.7559 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.6702, allocations: 1.025 MB / 0.7569 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.6707, allocations: 222.4 kB / 0.7571 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.6713, allocations: 342.8 kB / 0.7574 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.6716, allocations: 235.7 kB / 0.7576 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.6717, allocations: 12 kB / 0.7576 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.6729, allocations: 0.7794 MB / 0.7584 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.673, allocations: 103.7 kB / 0.7585 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.6732, allocations: 151.2 kB / 0.7586 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005085/0.6737, allocations: 411.1 kB / 0.759 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6737, allocations: 0 / 0.759 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.11e-07/0.6737, allocations: 0 / 0.759 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.6737, allocations: 0 / 0.759 GB, free: 10.57 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.0009044/0.6747, allocations: 0.6503 MB / 0.7597 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.6747, allocations: 8.031 kB / 0.7597 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.6751, allocations: 67.48 kB / 0.7597 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.6754, allocations: 303.8 kB / 0.76 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.6755, allocations: 24.38 kB / 0.7601 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.6755, allocations: 24 kB / 0.7601 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.676, allocations: 304.5 kB / 0.7604 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.676, allocations: 3.938 kB / 0.7604 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.676, allocations: 12 kB / 0.7604 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.676, allocations: 8 kB / 0.7604 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.6764, allocations: 167.8 kB / 0.7606 GB, free: 8.898 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.001524/0.6779, allocations: 1.696 MB / 0.7622 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.6782, allocations: 94.56 kB / 0.7623 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.6784, allocations: 76.8 kB / 0.7624 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.6786, allocations: 190.2 kB / 0.7626 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6787, allocations: 30.56 kB / 0.7626 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.6787, allocations: 0 / 0.7626 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006954/0.6794, allocations: 232.7 kB / 0.7628 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.6794, allocations: 55.41 kB / 0.7629 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.6797, allocations: 320.5 kB / 0.7632 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.6798, allocations: 29.7 kB / 0.7632 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.6799, allocations: 191.8 kB / 0.7634 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.68, allocations: 47.44 kB / 0.7634 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.6801, allocations: 49.61 kB / 0.7635 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6802, allocations: 338.8 kB / 0.7638 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.6803, allocations: 60.81 kB / 0.7638 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.6806, allocations: 193.1 kB / 0.764 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.6809, allocations: 233.5 kB / 0.7643 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6809, allocations: 0 / 0.7643 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004439/0.6814, allocations: 260.8 kB / 0.7645 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6814, allocations: 8 kB / 0.7645 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6814, allocations: 4.75 kB / 0.7645 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6814, allocations: 4 kB / 0.7645 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.6816, allocations: 52.31 kB / 0.7646 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.6817, allocations: 8 kB / 0.7646 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.6819, allocations: 39.67 kB / 0.7646 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.682, allocations: 15.98 kB / 0.7646 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002256/0.6822, allocations: 171.9 kB / 0.7648 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002141/0.6824, allocations: 190.1 kB / 0.765 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003087/0.6827, allocations: 229.5 kB / 0.7652 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.6828, allocations: 4 kB / 0.7652 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004269/0.6832, allocations: 260.5 kB / 0.7654 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.6832, allocations: 11.94 kB / 0.7655 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6832, allocations: 4 kB / 0.7655 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.6832, allocations: 4.406 kB / 0.7655 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.6834, allocations: 51.91 kB / 0.7655 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.6834, allocations: 7.938 kB / 0.7655 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.6837, allocations: 31.83 kB / 0.7656 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.6837, allocations: 16 kB / 0.7656 GB, free: 3.309 MB / 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 9.939e-05/0.6838, allocations: 188.2 kB / 0.7657 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.6839, allocations: 35.64 kB / 0.7658 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.6843, allocations: 172.6 kB / 0.7659 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6843, allocations: 0 / 0.7659 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.6843, allocations: 0 / 0.7659 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6843, allocations: 7.922 kB / 0.766 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/0.6852, allocations: 0.6015 MB / 0.7665 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6852, allocations: 4 kB / 0.7665 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6853, allocations: 23.97 kB / 0.7666 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6853, allocations: 4.219 kB / 0.7666 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6853, allocations: 8 kB / 0.7666 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6853, allocations: 3.938 kB / 0.7666 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6853, allocations: 7.938 kB / 0.7666 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.6857, allocations: 301 kB / 0.7669 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.6858, allocations: 112.8 kB / 0.767 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.6858, allocations: 8 kB / 0.767 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6861, allocations: 11.98 kB / 0.767 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.6861, allocations: 19.92 kB / 0.767 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.6861, allocations: 8 kB / 0.767 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002045/0.6863, allocations: 227 kB / 0.7672 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6863, allocations: 0 / 0.7672 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005654/0.6869, allocations: 127.8 kB / 0.7674 GB, free: 1.316 MB / 0.5762 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.0004003/0.6873, allocations: 174.1 kB / 0.7675 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005425/0.6879, allocations: 240.8 kB / 0.7678 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6879, allocations: 320 / 0.7678 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.6881, allocations: 71.83 kB / 0.7678 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.689, allocations: 138.3 kB / 0.768 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.6898, allocations: 0.6199 MB / 0.7686 GB, free: 36 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.6901, allocations: 0.7719 MB / 0.7693 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.6902, allocations: 27.44 kB / 0.7694 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6902, allocations: 0 / 0.7694 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.006716/0.6969, allocations: 4.48 MB / 0.7737 GB, free: 10.8 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)