Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004575/0.004575, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001049/0.00105, allocations: 191.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04818/0.04818, allocations: 9.092 MB / 279 MB, free: 2.949 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 71.05 kB / 387.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06443/0.06584, allocations: 48.18 MB / 435.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01629/0.08217, allocations: 17.26 MB / 452.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.09612, allocations: 15.54 MB / 468.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.09627, allocations: 0 / 468.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.09722, allocations: 379.4 kB / 468.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.1, allocations: 1.285 MB / 470.1 MB, free: 5.031 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.111, allocations: 4.418 MB / 474.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1113, allocations: 147.2 kB / 474.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1113, allocations: 9.125 kB / 474.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1115, allocations: 71.66 kB / 474.7 MB, free: 384 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.1116, allocations: 47.72 kB / 474.8 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1116, allocations: 4 kB / 474.8 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/0.1253, allocations: 8.589 MB / 483.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.1253, allocations: 19.92 kB / 483.4 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.1254, allocations: 55.67 kB / 483.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007995/0.1334, allocations: 3.488 MB / 486.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1335, allocations: 0 / 486.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1335, allocations: 0 / 486.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1335, allocations: 0 / 486.9 MB, free: 4.148 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001476/0.135, allocations: 0.7875 MB / 487.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.135, allocations: 12.03 kB / 487.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.1354, allocations: 59.73 kB / 487.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1356, allocations: 174.9 kB / 487.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1356, allocations: 11.94 kB / 488 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1356, allocations: 7.984 kB / 488 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.136, allocations: 265.3 kB / 488.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.136, allocations: 0 / 488.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.136, allocations: 4 kB / 488.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.136, allocations: 7.984 kB / 488.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.1365, allocations: 451.5 kB / 488.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.1369, allocations: 342.2 kB / 489 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1372, allocations: 278.4 kB / 489.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1375, allocations: 248.8 kB / 489.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01623/0.1537, allocations: 10 MB / 499.5 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1538, allocations: 38.55 kB / 499.6 MB, free: 5.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.705e-06/0.1538, allocations: 0 / 499.6 MB, free: 5.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009247/0.1547, allocations: 0.6658 MB / 0.4885 GB, free: 4.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1548, allocations: 59.41 kB / 0.4886 GB, free: 4.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.1548, allocations: 89.86 kB / 0.4886 GB, free: 4.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1549, allocations: 33.7 kB / 0.4887 GB, free: 4.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.1549, allocations: 80.8 kB / 0.4888 GB, free: 4.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.155, allocations: 126 kB / 0.4889 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.1551, allocations: 49.62 kB / 0.4889 GB, free: 4.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1552, allocations: 330.8 kB / 0.4892 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1554, allocations: 188 kB / 0.4894 GB, free: 3.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.1557, allocations: 193 kB / 0.4896 GB, free: 3.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.1562, allocations: 451.6 kB / 0.49 GB, free: 3.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1562, allocations: 0 / 0.49 GB, free: 3.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005867/0.1568, allocations: 491.9 kB / 0.4905 GB, free: 2.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1568, allocations: 8 kB / 0.4905 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1568, allocations: 3.938 kB / 0.4905 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1568, allocations: 0 / 0.4905 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.157, allocations: 27.91 kB / 0.4905 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.157, allocations: 8 kB / 0.4906 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.1571, allocations: 23.69 kB / 0.4906 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1571, allocations: 4 kB / 0.4906 GB, free: 2.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001038/0.1572, allocations: 124.9 kB / 0.4907 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.1573, allocations: 11.81 kB / 0.4907 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.158, allocations: 0.6632 MB / 0.4914 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1581, allocations: 8 kB / 0.4914 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1581, allocations: 0 / 0.4914 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1581, allocations: 3.938 kB / 0.4914 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1592, allocations: 0.9121 MB / 0.4923 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.1592, allocations: 8 kB / 0.4923 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1594, allocations: 23.98 kB / 0.4923 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.1594, allocations: 7.938 kB / 0.4923 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.1594, allocations: 11.98 kB / 0.4923 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1594, allocations: 3.938 kB / 0.4923 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1594, allocations: 4.344 kB / 0.4923 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.1599, allocations: 375.7 kB / 0.4927 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1599, allocations: 89 kB / 0.4928 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.16, allocations: 11.84 kB / 0.4928 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1601, allocations: 8 kB / 0.4928 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1602, allocations: 27.86 kB / 0.4928 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1602, allocations: 11.98 kB / 0.4928 GB, free: 220 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1603, allocations: 171.2 kB / 0.493 GB, free: 48 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1603, allocations: 0 / 0.493 GB, free: 48 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001877/0.1622, allocations: 0.7378 MB / 0.4937 GB, free: 15.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (12): * Single equations (assignments): 12 * 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.00368/0.1659, allocations: 1.214 MB / 0.4949 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.1665, allocations: 343.7 kB / 0.4952 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1666, allocations: 3.938 kB / 0.4952 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1667, allocations: 95.81 kB / 0.4953 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.1674, allocations: 74.62 kB / 0.4954 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.1681, allocations: 418.5 kB / 0.4958 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1684, allocations: 0.7084 MB / 0.4965 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.1688, allocations: 287.9 kB / 0.4967 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.1688, allocations: 23.42 kB / 0.4968 GB, free: 12.07 MB / 398.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1688, allocations: 0 / 0.4968 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Templates: time 0.03654/0.2054, allocations: 25.9 MB / 0.5221 GB, free: 2.184 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1)