Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001811/0.001817, allocations: 182.2 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/package.mo): time 0.7287/0.7287, allocations: 132.2 MB / 148.9 MB, free: 12.12 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.473/1.473, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.00108/0.00108, allocations: 107.7 kB / 484.4 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009964/0.0009966, allocations: 55.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1448, allocations: 80.2 MB / 0.6402 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4681/0.613, allocations: 167.2 MB / 0.8035 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007931/0.6209, allocations: 7.328 MB / 0.8106 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000602/0.6216, allocations: 11.94 kB / 0.8106 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.6223, allocations: 175 kB / 0.8108 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.6239, allocations: 0.5486 MB / 0.8113 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.6252, allocations: 377.5 kB / 0.8117 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.6264, allocations: 1.029 MB / 0.8127 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.6268, allocations: 234.3 kB / 0.8129 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006278/0.6274, allocations: 346.6 kB / 0.8133 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.6277, allocations: 219 kB / 0.8135 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.6277, allocations: 16 kB / 0.8135 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.629, allocations: 0.7833 MB / 0.8142 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.6291, allocations: 107.7 kB / 0.8143 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.6293, allocations: 155.1 kB / 0.8145 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007377/0.63, allocations: 0.5764 MB / 0.8151 GB, free: 28 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.6301, allocations: 4 kB / 0.8151 GB, free: 24 kB / 0.5417 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6301, allocations: 0 / 0.8151 GB, free: 24 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6301, allocations: 0 / 0.8151 GB, free: 24 kB / 0.5417 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.0009166/0.631, allocations: 0.6465 MB / 0.8157 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.6311, allocations: 12.03 kB / 0.8157 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.6314, allocations: 63.48 kB / 0.8158 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.6318, allocations: 310.1 kB / 0.8161 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.6318, allocations: 16.44 kB / 0.8161 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.6319, allocations: 24 kB / 0.8161 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.6323, allocations: 300.6 kB / 0.8164 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6324, allocations: 3.938 kB / 0.8164 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6324, allocations: 12 kB / 0.8164 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6324, allocations: 4 kB / 0.8164 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.6328, allocations: 175.7 kB / 0.8166 GB, free: 14.35 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.00147/0.6342, allocations: 1.698 MB / 0.8182 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.6345, allocations: 86.56 kB / 0.8183 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.6346, allocations: 81.48 kB / 0.8184 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.6349, allocations: 190.2 kB / 0.8186 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6349, allocations: 37.12 kB / 0.8186 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 2.915e-06/0.6349, allocations: 3.938 kB / 0.8186 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0006682/0.6356, allocations: 229.1 kB / 0.8188 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.6357, allocations: 55.39 kB / 0.8189 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.636, allocations: 316.5 kB / 0.8192 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.636, allocations: 29.7 kB / 0.8192 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.6361, allocations: 199.7 kB / 0.8194 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.6362, allocations: 39.55 kB / 0.8194 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.6362, allocations: 49.61 kB / 0.8195 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6363, allocations: 334.8 kB / 0.8198 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.6365, allocations: 68.81 kB / 0.8199 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.6367, allocations: 194.1 kB / 0.8201 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.6371, allocations: 237.5 kB / 0.8203 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6371, allocations: 4 kB / 0.8203 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004415/0.6375, allocations: 260.8 kB / 0.8205 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6376, allocations: 7.938 kB / 0.8205 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6376, allocations: 4 kB / 0.8205 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6376, allocations: 4 kB / 0.8206 GB, free: 9.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.6378, allocations: 48.05 kB / 0.8206 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.6378, allocations: 4 kB / 0.8206 GB, free: 9.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.6381, allocations: 48.09 kB / 0.8206 GB, free: 9.832 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.6381, allocations: 8 kB / 0.8207 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002084/0.6383, allocations: 168.1 kB / 0.8208 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002203/0.6385, allocations: 202.3 kB / 0.821 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003115/0.6389, allocations: 229.5 kB / 0.8212 GB, free: 9.129 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.6389, allocations: 0 / 0.8212 GB, free: 9.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004219/0.6393, allocations: 260.8 kB / 0.8215 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.6393, allocations: 4.938 kB / 0.8215 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.6393, allocations: 4 kB / 0.8215 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6394, allocations: 4 kB / 0.8215 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.6395, allocations: 51.91 kB / 0.8215 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.6395, allocations: 8 kB / 0.8215 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.6398, allocations: 28.2 kB / 0.8216 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.6398, allocations: 19.98 kB / 0.8216 GB, free: 8.75 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 9.66e-05/0.6399, allocations: 193.5 kB / 0.8218 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.64, allocations: 35.56 kB / 0.8218 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.6403, allocations: 168.7 kB / 0.822 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6404, allocations: 4.875 kB / 0.822 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6404, allocations: 0 / 0.822 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6404, allocations: 0 / 0.822 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.6412, allocations: 0.6093 MB / 0.8226 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6412, allocations: 4 kB / 0.8226 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.6414, allocations: 27.92 kB / 0.8226 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.6414, allocations: 7.688 kB / 0.8226 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.6414, allocations: 8 kB / 0.8226 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6414, allocations: 4 kB / 0.8226 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.6414, allocations: 3.938 kB / 0.8226 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.6422, allocations: 0.9483 MB / 0.8236 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6423, allocations: 120.6 kB / 0.8237 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.6423, allocations: 4 kB / 0.8237 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.6425, allocations: 15.98 kB / 0.8237 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.6426, allocations: 15.92 kB / 0.8237 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.6426, allocations: 4 kB / 0.8237 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001995/0.6428, allocations: 227 kB / 0.8239 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6428, allocations: 0 / 0.8239 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007751/0.6436, allocations: 139.8 kB / 0.8241 GB, free: 6.043 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.0003529/0.6439, allocations: 160.9 kB / 0.8242 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.6445, allocations: 241 kB / 0.8244 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6445, allocations: 0 / 0.8244 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.6447, allocations: 72.08 kB / 0.8245 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.6456, allocations: 144.5 kB / 0.8246 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.6465, allocations: 0.7165 MB / 0.8253 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.6468, allocations: 0.7797 MB / 0.8261 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002857/0.6471, allocations: 91.02 kB / 0.8262 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.6471, allocations: 23.44 kB / 0.8262 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.6471, allocations: 0 / 0.8262 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of Templates: time 0.008981/0.6561, allocations: 4.836 MB / 0.8309 GB, free: 14.97 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)