Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) 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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01103/0.01103, allocations: 1.435 MB / 17.7 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1149/0.1149, allocations: 22.37 MB / 41.11 MB, free: 7.582 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 119.9 kB / 48.62 MB, free: 48 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 192.3 kB / 56.21 MB, free: 9.438 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 286.5 MB, free: 13.99 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8433/0.8433, allocations: 127.8 MB / 471.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.00222, allocations: 127.8 kB / 0.5547 GB, free: 16.37 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1512, allocations: 82.35 MB / 0.6351 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.004426/0.1556, allocations: 3.389 MB / 0.6384 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006343/0.162, allocations: 5.012 MB / 0.6433 GB, free: 5.578 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.1623, allocations: 4 kB / 0.6433 GB, free: 5.574 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1634, allocations: 282.5 kB / 0.6436 GB, free: 5.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.1638, allocations: 218.8 kB / 0.6438 GB, free: 5.082 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.1646, allocations: 398.7 kB / 0.6442 GB, free: 4.691 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.1652, allocations: 0.5185 MB / 0.6447 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.1653, allocations: 41.06 kB / 0.6448 GB, free: 4.129 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.1654, allocations: 199.2 kB / 0.6449 GB, free: 3.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.1657, allocations: 191 kB / 0.6451 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.1658, allocations: 24 kB / 0.6451 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.1662, allocations: 299.4 kB / 0.6454 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.1663, allocations: 67.77 kB / 0.6455 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1665, allocations: 175 kB / 0.6457 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.1671, allocations: 0.6075 MB / 0.6463 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1672, allocations: 0 / 0.6463 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1672, allocations: 0 / 0.6463 GB, free: 2.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1672, allocations: 0 / 0.6463 GB, free: 2.582 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007129/0.1679, allocations: 0.6541 MB / 0.6469 GB, free: 1.875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1679, allocations: 8.031 kB / 0.6469 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.1682, allocations: 56.34 kB / 0.647 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.1687, allocations: 307.3 kB / 0.6472 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1687, allocations: 20.38 kB / 0.6473 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1687, allocations: 16.38 kB / 0.6473 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.1692, allocations: 415.6 kB / 0.6477 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1692, allocations: 8.125 kB / 0.6477 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.1692, allocations: 15.94 kB / 0.6477 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1692, allocations: 8 kB / 0.6477 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.1695, allocations: 199.9 kB / 0.6479 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1712, allocations: 3.04 MB / 0.6509 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1714, allocations: 158.5 kB / 0.651 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1716, allocations: 119.5 kB / 0.6511 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.1716, allocations: 15.97 kB / 0.6512 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1717, allocations: 42.5 kB / 0.6512 GB, free: 13.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.1717, allocations: 0 / 0.6512 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.0006212/0.1723, allocations: 352.4 kB / 0.6515 GB, free: 12.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.1724, allocations: 136.5 kB / 0.6517 GB, free: 12.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.1727, allocations: 299.2 kB / 0.6519 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1727, allocations: 33.7 kB / 0.652 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1728, allocations: 196.1 kB / 0.6522 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.173, allocations: 212.9 kB / 0.6524 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.1731, allocations: 93.58 kB / 0.6525 GB, free: 11.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1733, allocations: 346.8 kB / 0.6528 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1734, allocations: 88.95 kB / 0.6529 GB, free: 11.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.1737, allocations: 362 kB / 0.6532 GB, free: 10.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.1743, allocations: 0.5189 MB / 0.6537 GB, free: 10.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1743, allocations: 4 kB / 0.6537 GB, free: 10.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006997/0.175, allocations: 481.8 kB / 0.6542 GB, free: 9.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.175, allocations: 11.94 kB / 0.6542 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-05/0.1751, allocations: 40.12 kB / 0.6542 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.1751, allocations: 12 kB / 0.6542 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1753, allocations: 67.84 kB / 0.6543 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.1753, allocations: 19.92 kB / 0.6543 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.1756, allocations: 55.28 kB / 0.6544 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.1756, allocations: 32 kB / 0.6544 GB, free: 9.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0001649/0.1758, allocations: 169.6 kB / 0.6546 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1759, allocations: 39.47 kB / 0.6546 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.1761, allocations: 50.28 kB / 0.6547 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.1761, allocations: 4 kB / 0.6547 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1761, allocations: 0 / 0.6547 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1761, allocations: 4 kB / 0.6547 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.1766, allocations: 353.1 kB / 0.655 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/0.1767, allocations: 27.92 kB / 0.655 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.1767, allocations: 15.98 kB / 0.655 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1767, allocations: 7.938 kB / 0.6551 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1768, allocations: 4 kB / 0.6551 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1768, allocations: 4 kB / 0.6551 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1768, allocations: 3.984 kB / 0.6551 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.1773, allocations: 0.5848 MB / 0.6556 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.1774, allocations: 148.5 kB / 0.6558 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.1774, allocations: 15.88 kB / 0.6558 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1777, allocations: 3.984 kB / 0.6558 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.1777, allocations: 15.98 kB / 0.6558 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1777, allocations: 8 kB / 0.6558 GB, free: 7.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.1779, allocations: 209.9 kB / 0.656 GB, free: 7.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1779, allocations: 0 / 0.656 GB, free: 7.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000646/0.1786, allocations: 139.8 kB / 0.6562 GB, free: 7.609 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0007492/0.1793, allocations: 377.5 kB / 0.6565 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.18, allocations: 0.5169 MB / 0.657 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.18, allocations: 4.062 kB / 0.657 GB, free: 6.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.1802, allocations: 361.4 kB / 0.6574 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.181, allocations: 75.05 kB / 0.6574 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/0.182, allocations: 0.6367 MB / 0.6581 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1823, allocations: 0.7926 MB / 0.6588 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.1825, allocations: 80.09 kB / 0.6589 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.1826, allocations: 43.41 kB / 0.659 GB, free: 4.672 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1826, allocations: 0 / 0.659 GB, free: 4.672 MB / 494.1 MB Notification: Performance of Templates: time 0.009347/0.192, allocations: 5.173 MB / 0.664 GB, free: 15.59 MB / 0.4982 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.makefile (rm -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.sim & ./ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)