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.005603/0.005603, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001258/0.001259, allocations: 197.4 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9287/0.9287, allocations: 135.1 MB / 425.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4187, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.2018/0.6205, allocations: 169.5 MB / 0.8301 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008366/0.629, allocations: 7.321 MB / 0.8373 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.6295, allocations: 15.88 kB / 0.8373 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007808/0.6303, allocations: 214.7 kB / 0.8375 GB, free: 15.99 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.6319, allocations: 0.595 MB / 0.8381 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.6331, allocations: 440.1 kB / 0.8385 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.634, allocations: 0.7051 MB / 0.8392 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.6345, allocations: 267.1 kB / 0.8395 GB, free: 14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007104/0.6352, allocations: 390.5 kB / 0.8398 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.6355, allocations: 211.1 kB / 0.84 GB, free: 13.41 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.6355, allocations: 20 kB / 0.84 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.6366, allocations: 0.7016 MB / 0.8407 GB, free: 12.69 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.6367, allocations: 115.6 kB / 0.8408 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.6369, allocations: 159.2 kB / 0.841 GB, free: 12.42 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.6377, allocations: 0.5745 MB / 0.8416 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6377, allocations: 4 kB / 0.8416 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6377, allocations: 4 kB / 0.8416 GB, free: 11.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.6377, allocations: 0 / 0.8416 GB, free: 11.84 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.0009442/0.6387, allocations: 0.6426 MB / 0.8422 GB, free: 11.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6387, allocations: 11.97 kB / 0.8422 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.6391, allocations: 59.59 kB / 0.8423 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.6396, allocations: 322.1 kB / 0.8426 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.6396, allocations: 20.44 kB / 0.8426 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.6397, allocations: 24 kB / 0.8426 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.6401, allocations: 304.5 kB / 0.8429 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6402, allocations: 0 / 0.8429 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.6402, allocations: 8 kB / 0.8429 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.6402, allocations: 4 kB / 0.8429 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.6406, allocations: 179.7 kB / 0.8431 GB, free: 10.15 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.001565/0.6421, allocations: 1.698 MB / 0.8447 GB, free: 8.332 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.6424, allocations: 86.61 kB / 0.8448 GB, free: 8.238 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.6426, allocations: 76.81 kB / 0.8449 GB, free: 8.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.6429, allocations: 190.2 kB / 0.8451 GB, free: 7.938 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.6429, allocations: 38.55 kB / 0.8451 GB, free: 7.891 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.6429, allocations: 0 / 0.8451 GB, free: 7.891 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0006423/0.6436, allocations: 225 kB / 0.8453 GB, free: 7.664 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6436, allocations: 59.41 kB / 0.8454 GB, free: 7.594 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.6439, allocations: 320.5 kB / 0.8457 GB, free: 7.277 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.644, allocations: 29.7 kB / 0.8457 GB, free: 7.242 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.6441, allocations: 195.8 kB / 0.8459 GB, free: 7.043 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.6441, allocations: 35.45 kB / 0.8459 GB, free: 7.008 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.6442, allocations: 49.7 kB / 0.846 GB, free: 6.953 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6443, allocations: 342.8 kB / 0.8463 GB, free: 6.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.6445, allocations: 60.81 kB / 0.8464 GB, free: 6.547 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.6447, allocations: 197.1 kB / 0.8466 GB, free: 6.293 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.6451, allocations: 241.4 kB / 0.8468 GB, free: 6.008 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6451, allocations: 0 / 0.8468 GB, free: 6.008 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004244/0.6455, allocations: 253.2 kB / 0.847 GB, free: 5.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6456, allocations: 11.98 kB / 0.847 GB, free: 5.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6456, allocations: 4 kB / 0.847 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6456, allocations: 4 kB / 0.847 GB, free: 5.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6458, allocations: 43.92 kB / 0.8471 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6458, allocations: 7.984 kB / 0.8471 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.646, allocations: 39.67 kB / 0.8471 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.6461, allocations: 15.94 kB / 0.8472 GB, free: 5.629 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002061/0.6463, allocations: 176.1 kB / 0.8473 GB, free: 5.453 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002155/0.6465, allocations: 199.3 kB / 0.8475 GB, free: 5.199 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003218/0.6468, allocations: 229.5 kB / 0.8477 GB, free: 4.926 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.6468, allocations: 0 / 0.8477 GB, free: 4.926 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004135/0.6472, allocations: 261.4 kB / 0.848 GB, free: 4.664 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.6473, allocations: 7.938 kB / 0.848 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.6473, allocations: 4 kB / 0.848 GB, free: 4.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.6473, allocations: 8 kB / 0.848 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.6474, allocations: 43.91 kB / 0.848 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.6475, allocations: 8 kB / 0.848 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.6477, allocations: 27.83 kB / 0.8481 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.6477, allocations: 16 kB / 0.8481 GB, free: 4.551 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.0001089/0.6478, allocations: 200.2 kB / 0.8483 GB, free: 4.348 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.6479, allocations: 31.61 kB / 0.8483 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.6482, allocations: 172.5 kB / 0.8485 GB, free: 4.145 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6482, allocations: 0 / 0.8485 GB, free: 4.145 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6482, allocations: 3.938 kB / 0.8485 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6483, allocations: 0 / 0.8485 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.6491, allocations: 0.6093 MB / 0.8491 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6491, allocations: 0 / 0.8491 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.6492, allocations: 32.19 kB / 0.8491 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6492, allocations: 4 kB / 0.8491 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.6492, allocations: 3.938 kB / 0.8491 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.6492, allocations: 7.938 kB / 0.8491 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6492, allocations: 4 kB / 0.8491 GB, free: 3.402 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.6496, allocations: 297.1 kB / 0.8494 GB, free: 3.074 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/0.6497, allocations: 116.7 kB / 0.8495 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.6497, allocations: 7.938 kB / 0.8495 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.6499, allocations: 19.98 kB / 0.8495 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.65, allocations: 4 kB / 0.8495 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.65, allocations: 4 kB / 0.8495 GB, free: 2.906 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002056/0.6502, allocations: 227 kB / 0.8498 GB, free: 2.684 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6502, allocations: 3.938 kB / 0.8498 GB, free: 2.68 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005542/0.6507, allocations: 139.8 kB / 0.8499 GB, free: 2.543 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.0003838/0.6511, allocations: 167.6 kB / 0.8501 GB, free: 2.379 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.6517, allocations: 244.7 kB / 0.8503 GB, free: 2.141 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6517, allocations: 4.438 kB / 0.8503 GB, free: 2.137 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.6518, allocations: 63.89 kB / 0.8504 GB, free: 2.074 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.6525, allocations: 126.7 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.0007178/0.6532, allocations: 497.2 kB / 0.851 GB, free: 1.426 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6536, allocations: 0.7794 MB / 0.8517 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.6538, allocations: 87.53 kB / 0.8518 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.6539, allocations: 23.44 kB / 0.8518 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of SimCode: time 2.3e-07/0.6539, allocations: 4 kB / 0.8518 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of Templates: time 0.009458/0.6633, allocations: 4.904 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)