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.001685/0.001685, allocations: 110 kB / 16.41 MB, free: 6.453 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.001638/0.001638, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9028/0.9028, allocations: 135.2 MB / 426.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.75 kB / 0.5863 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1871, allocations: 80.93 MB / 0.6654 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.6179/0.805, allocations: 169.9 MB / 0.8313 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009802/0.8148, allocations: 7.339 MB / 0.8385 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006774/0.8155, allocations: 10.78 kB / 0.8385 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.8163, allocations: 220.1 kB / 0.8387 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.8182, allocations: 0.5993 MB / 0.8393 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.8195, allocations: 422.2 kB / 0.8397 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.8206, allocations: 0.7067 MB / 0.8404 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.821, allocations: 229.6 kB / 0.8406 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007842/0.8218, allocations: 398.1 kB / 0.841 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.8221, allocations: 211.6 kB / 0.8412 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.8221, allocations: 20.34 kB / 0.8412 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.8234, allocations: 0.7055 MB / 0.8419 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.8236, allocations: 111.4 kB / 0.842 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.8237, allocations: 156.2 kB / 0.8421 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.8247, allocations: 0.5838 MB / 0.8427 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8247, allocations: 0 / 0.8427 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8247, allocations: 0 / 0.8427 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.8247, allocations: 0 / 0.8427 GB, free: 5.121 MB / 0.6075 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.001044/0.8258, allocations: 0.6581 MB / 0.8433 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8258, allocations: 15.83 kB / 0.8434 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.8262, allocations: 62.02 kB / 0.8434 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.8267, allocations: 325.5 kB / 0.8437 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.8267, allocations: 19.31 kB / 0.8437 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.8268, allocations: 25.69 kB / 0.8438 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.8273, allocations: 303.2 kB / 0.8441 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.8273, allocations: 3.938 kB / 0.8441 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.8274, allocations: 9.281 kB / 0.8441 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.8274, allocations: 4.906 kB / 0.8441 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.8278, allocations: 181.2 kB / 0.8442 GB, free: 3.84 MB / 0.6075 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.001881/0.8297, allocations: 1.682 MB / 0.8459 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.8299, allocations: 92.8 kB / 0.846 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.8301, allocations: 77.2 kB / 0.8461 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.8304, allocations: 186.3 kB / 0.8462 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.8304, allocations: 41.64 kB / 0.8463 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.8304, allocations: 0 / 0.8463 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006986/0.8311, allocations: 222.1 kB / 0.8465 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.8312, allocations: 54.22 kB / 0.8465 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.8315, allocations: 325.1 kB / 0.8468 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.8316, allocations: 29.7 kB / 0.8469 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.8317, allocations: 196.2 kB / 0.8471 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.8318, allocations: 45 kB / 0.8471 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.8319, allocations: 55.53 kB / 0.8472 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.832, allocations: 334.5 kB / 0.8475 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.8322, allocations: 62.41 kB / 0.8475 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.8325, allocations: 185.5 kB / 0.8477 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.8329, allocations: 244 kB / 0.8479 GB, free: 436 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8329, allocations: 0 / 0.8479 GB, free: 436 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004866/0.8334, allocations: 257.3 kB / 0.8482 GB, free: 288 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8334, allocations: 8.219 kB / 0.8482 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.8334, allocations: 10.61 kB / 0.8482 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.8334, allocations: 5.375 kB / 0.8482 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.8336, allocations: 43.39 kB / 0.8483 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.8336, allocations: 8.859 kB / 0.8483 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.8339, allocations: 34.67 kB / 0.8483 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.8339, allocations: 14.81 kB / 0.8483 GB, free: 244 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002419/0.8341, allocations: 167.4 kB / 0.8485 GB, free: 116 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002832/0.8344, allocations: 199.2 kB / 0.8487 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003662/0.8348, allocations: 229.3 kB / 0.8489 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.8348, allocations: 7.938 kB / 0.8489 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000466/0.8352, allocations: 254 kB / 0.8491 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.8353, allocations: 5.312 kB / 0.8491 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8353, allocations: 9.719 kB / 0.8491 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.8353, allocations: 5.062 kB / 0.8491 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.8354, allocations: 48.81 kB / 0.8492 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8354, allocations: 7.688 kB / 0.8492 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.8357, allocations: 28.09 kB / 0.8492 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.8357, allocations: 10.03 kB / 0.8492 GB, free: 15.52 MB / 0.6231 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.000158/0.8358, allocations: 197.8 kB / 0.8494 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.8359, allocations: 43.55 kB / 0.8495 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.8363, allocations: 165.7 kB / 0.8496 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8363, allocations: 2.875 kB / 0.8496 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.8363, allocations: 0 / 0.8496 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8363, allocations: 0 / 0.8496 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009917/0.8373, allocations: 0.5999 MB / 0.8502 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.8373, allocations: 6.016 kB / 0.8502 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.8374, allocations: 30.38 kB / 0.8502 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.8374, allocations: 6.516 kB / 0.8503 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.8374, allocations: 12.72 kB / 0.8503 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.8374, allocations: 6.844 kB / 0.8503 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8374, allocations: 2.781 kB / 0.8503 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.8378, allocations: 294.7 kB / 0.8506 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.838, allocations: 117.4 kB / 0.8507 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.838, allocations: 12.7 kB / 0.8507 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.8382, allocations: 13.3 kB / 0.8507 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.8382, allocations: 16.97 kB / 0.8507 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.8382, allocations: 5.281 kB / 0.8507 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002496/0.8385, allocations: 227.3 kB / 0.8509 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8385, allocations: 0 / 0.8509 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000581/0.8391, allocations: 138.3 kB / 0.8511 GB, free: 14.06 MB / 0.6231 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.0004432/0.8395, allocations: 164.1 kB / 0.8512 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.8401, allocations: 243.4 kB / 0.8515 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8401, allocations: 2.312 kB / 0.8515 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.8403, allocations: 61.55 kB / 0.8515 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.841, allocations: 135.8 kB / 0.8516 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009311/0.842, allocations: 0.5319 MB / 0.8522 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.8424, allocations: 0.7765 MB / 0.8529 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.8425, allocations: 29.17 kB / 0.8529 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.8425, allocations: 0 / 0.8529 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.007845/0.8503, allocations: 4.496 MB / 0.8573 GB, free: 9.895 MB / 0.6231 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)