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.006188/0.006188, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.001179/0.001179, allocations: 194.7 kB / 16.67 MB, free: 5.977 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.14 kB / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4354, allocations: 80.92 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1875/0.6229, allocations: 169.4 MB / 0.8301 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008339/0.6313, allocations: 7.323 MB / 0.8373 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.6318, allocations: 15.88 kB / 0.8373 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.6325, allocations: 210.7 kB / 0.8375 GB, free: 15.99 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.6343, allocations: 0.5716 MB / 0.8381 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.6356, allocations: 430.7 kB / 0.8385 GB, free: 15 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.6367, allocations: 0.7049 MB / 0.8392 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.6372, allocations: 279.1 kB / 0.8394 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007306/0.6379, allocations: 374.5 kB / 0.8398 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.6382, allocations: 219 kB / 0.84 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.6383, allocations: 20 kB / 0.84 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.6395, allocations: 0.6977 MB / 0.8407 GB, free: 12.72 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.6397, allocations: 111.6 kB / 0.8408 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.6398, allocations: 155.2 kB / 0.8409 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.6408, allocations: 0.5854 MB / 0.8415 GB, free: 11.88 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6408, allocations: 3.984 kB / 0.8415 GB, free: 11.87 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6408, allocations: 3.938 kB / 0.8415 GB, free: 11.87 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6408, allocations: 0 / 0.8415 GB, free: 11.87 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.0009451/0.6418, allocations: 0.6498 MB / 0.8422 GB, free: 11.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6418, allocations: 8.031 kB / 0.8422 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.6422, allocations: 71.7 kB / 0.8422 GB, free: 11.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.6427, allocations: 330.2 kB / 0.8425 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.6427, allocations: 16.44 kB / 0.8426 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.6428, allocations: 24 kB / 0.8426 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.6433, allocations: 300.6 kB / 0.8429 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6433, allocations: 4 kB / 0.8429 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.6433, allocations: 12 kB / 0.8429 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.6433, allocations: 8 kB / 0.8429 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.6437, allocations: 175.7 kB / 0.8431 GB, free: 10.16 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.001735/0.6455, allocations: 1.698 MB / 0.8447 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.6457, allocations: 86.53 kB / 0.8448 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.6459, allocations: 76.89 kB / 0.8449 GB, free: 8.168 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.6462, allocations: 190.2 kB / 0.8451 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.6462, allocations: 38.5 kB / 0.8451 GB, free: 7.898 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.6463, allocations: 0 / 0.8451 GB, free: 7.898 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.00067/0.6469, allocations: 225.3 kB / 0.8453 GB, free: 7.672 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.647, allocations: 51.41 kB / 0.8454 GB, free: 7.609 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.6473, allocations: 324.5 kB / 0.8457 GB, free: 7.289 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.6474, allocations: 29.7 kB / 0.8457 GB, free: 7.254 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.6475, allocations: 200.1 kB / 0.8459 GB, free: 7.051 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.6476, allocations: 43.62 kB / 0.8459 GB, free: 7.008 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.6476, allocations: 49.66 kB / 0.846 GB, free: 6.953 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6478, allocations: 342.8 kB / 0.8463 GB, free: 6.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.6479, allocations: 64.81 kB / 0.8464 GB, free: 6.543 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.6482, allocations: 189.1 kB / 0.8465 GB, free: 6.297 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.6486, allocations: 237.4 kB / 0.8468 GB, free: 6.016 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6486, allocations: 0 / 0.8468 GB, free: 6.016 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004638/0.6491, allocations: 261.2 kB / 0.847 GB, free: 5.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6491, allocations: 8 kB / 0.847 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6491, allocations: 4 kB / 0.847 GB, free: 5.742 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6491, allocations: 4 kB / 0.847 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.6493, allocations: 51.91 kB / 0.8471 GB, free: 5.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.6493, allocations: 4.078 kB / 0.8471 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.6496, allocations: 32.14 kB / 0.8471 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.6496, allocations: 19.98 kB / 0.8471 GB, free: 5.633 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002377/0.6498, allocations: 168.1 kB / 0.8473 GB, free: 5.465 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002543/0.6501, allocations: 200.4 kB / 0.8475 GB, free: 5.211 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003412/0.6505, allocations: 233.4 kB / 0.8477 GB, free: 4.934 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.6505, allocations: 7.938 kB / 0.8477 GB, free: 4.926 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004459/0.6509, allocations: 257.1 kB / 0.848 GB, free: 4.668 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.6509, allocations: 6.031 kB / 0.848 GB, free: 4.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.651, allocations: 7.984 kB / 0.848 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.651, allocations: 4 kB / 0.848 GB, free: 4.652 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.6511, allocations: 43.92 kB / 0.848 GB, free: 4.609 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6511, allocations: 4 kB / 0.848 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.6514, allocations: 36.17 kB / 0.8481 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.6514, allocations: 16 kB / 0.8481 GB, free: 4.555 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.0001157/0.6515, allocations: 200.1 kB / 0.8483 GB, free: 4.352 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.6516, allocations: 27.81 kB / 0.8483 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.652, allocations: 168.4 kB / 0.8485 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.652, allocations: 4 kB / 0.8485 GB, free: 4.152 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.652, allocations: 4 kB / 0.8485 GB, free: 4.148 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.652, allocations: 0 / 0.8485 GB, free: 4.148 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.6529, allocations: 0.6136 MB / 0.8491 GB, free: 3.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.653, allocations: 0 / 0.8491 GB, free: 3.457 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.6531, allocations: 27.92 kB / 0.8491 GB, free: 3.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.14e-05/0.6531, allocations: 8.031 kB / 0.8491 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6531, allocations: 3.938 kB / 0.8491 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.6531, allocations: 4 kB / 0.8491 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6531, allocations: 0 / 0.8491 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.6535, allocations: 305.3 kB / 0.8494 GB, free: 3.078 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6537, allocations: 116.8 kB / 0.8495 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.6537, allocations: 11.94 kB / 0.8495 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.6539, allocations: 11.98 kB / 0.8495 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.654, allocations: 11.98 kB / 0.8495 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.654, allocations: 8 kB / 0.8496 GB, free: 2.902 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002381/0.6542, allocations: 227 kB / 0.8498 GB, free: 2.68 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6542, allocations: 0 / 0.8498 GB, free: 2.68 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005672/0.6548, allocations: 131.8 kB / 0.8499 GB, free: 2.551 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.0004194/0.6552, allocations: 177 kB / 0.8501 GB, free: 2.375 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.6558, allocations: 241 kB / 0.8503 GB, free: 2.141 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6558, allocations: 0 / 0.8503 GB, free: 2.141 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.656, allocations: 63.89 kB / 0.8504 GB, free: 2.078 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.6568, allocations: 128.9 kB / 0.8505 GB, free: 1.957 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.6575, allocations: 0.4967 MB / 0.851 GB, free: 1.414 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.6579, allocations: 0.7756 MB / 0.8517 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.6582, allocations: 86.89 kB / 0.8518 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.6582, allocations: 27.42 kB / 0.8518 GB, free: 0.5 MB / 0.67 GB Notification: Performance of SimCode: time 2.71e-07/0.6582, allocations: 0 / 0.8518 GB, free: 0.5 MB / 0.67 GB Notification: Performance of Templates: time 0.009352/0.6676, allocations: 4.899 MB / 0.8566 GB, free: 11.68 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)