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.003937/0.003937, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.0009649/0.0009649, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.205/1.205, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04308/0.04308, allocations: 9.089 MB / 279 MB, free: 11.94 MB / 238.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.001347/0.001347, allocations: 67.89 kB / 387.5 MB, free: 8.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2431, allocations: 48.15 MB / 435.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01623/0.2594, allocations: 17.27 MB / 452.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.2732, allocations: 15.54 MB / 468.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2734, allocations: 1.125 kB / 468.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.2745, allocations: 428.6 kB / 468.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.2775, allocations: 1.308 MB / 470.1 MB, free: 13.09 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.0109/0.2884, allocations: 4.71 MB / 474.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.2886, allocations: 147.2 kB / 475 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.2886, allocations: 9.062 kB / 475 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2888, allocations: 67.72 kB / 475.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.2889, allocations: 47.72 kB / 475.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2889, allocations: 4 kB / 475.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01234/0.3012, allocations: 8.589 MB / 483.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.3013, allocations: 19.86 kB / 483.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.3013, allocations: 51.69 kB / 483.8 MB, free: 480 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005892/0.3072, allocations: 3.492 MB / 487.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3073, allocations: 0 / 487.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3073, allocations: 0 / 487.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3073, allocations: 4 kB / 487.3 MB, free: 12.96 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.001435/0.3087, allocations: 0.7875 MB / 488.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3088, allocations: 12.03 kB / 488.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.3092, allocations: 59.69 kB / 488.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3093, allocations: 182.8 kB / 488.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3093, allocations: 11.98 kB / 488.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3093, allocations: 4 kB / 488.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.3097, allocations: 265.3 kB / 488.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.3097, allocations: 0 / 488.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3097, allocations: 4 kB / 488.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3098, allocations: 4 kB / 488.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.3102, allocations: 455.5 kB / 489 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.3106, allocations: 338.4 kB / 489.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.3109, allocations: 270.5 kB / 489.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.3111, allocations: 252.8 kB / 489.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01506/0.3262, allocations: 10.01 MB / 499.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3263, allocations: 38.56 kB / 499.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.3263, allocations: 0 / 499.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.000848/0.3271, allocations: 0.6657 MB / 0.4889 GB, free: 13.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.3272, allocations: 55.41 kB / 0.4889 GB, free: 13.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.3272, allocations: 97.84 kB / 0.489 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3272, allocations: 29.83 kB / 0.489 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.3273, allocations: 88.8 kB / 0.4891 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/0.3274, allocations: 130 kB / 0.4892 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.3275, allocations: 45.69 kB / 0.4893 GB, free: 13.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3276, allocations: 330.8 kB / 0.4896 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.3278, allocations: 187.9 kB / 0.4898 GB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3281, allocations: 185 kB / 0.4899 GB, free: 12.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.3285, allocations: 459.6 kB / 0.4904 GB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3285, allocations: 0 / 0.4904 GB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005546/0.3291, allocations: 491.8 kB / 0.4909 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3291, allocations: 8 kB / 0.4909 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3291, allocations: 0 / 0.4909 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3291, allocations: 0 / 0.4909 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3293, allocations: 23.98 kB / 0.4909 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3293, allocations: 4 kB / 0.4909 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.3294, allocations: 27.67 kB / 0.4909 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3294, allocations: 4 kB / 0.4909 GB, free: 11.58 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 9.292e-05/0.3295, allocations: 129.7 kB / 0.491 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3295, allocations: 11.81 kB / 0.4911 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.3303, allocations: 0.6709 MB / 0.4917 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3303, allocations: 4 kB / 0.4917 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3303, allocations: 0 / 0.4917 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3303, allocations: 3.938 kB / 0.4917 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3313, allocations: 0.9086 MB / 0.4926 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3313, allocations: 4 kB / 0.4926 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3314, allocations: 31.91 kB / 0.4926 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3315, allocations: 4 kB / 0.4926 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3315, allocations: 11.98 kB / 0.4927 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3315, allocations: 4 kB / 0.4927 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3315, allocations: 3.938 kB / 0.4927 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.3319, allocations: 375.8 kB / 0.493 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.332, allocations: 92.89 kB / 0.4931 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.332, allocations: 15.84 kB / 0.4931 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3322, allocations: 7.984 kB / 0.4931 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.3322, allocations: 15.92 kB / 0.4931 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3322, allocations: 12 kB / 0.4932 GB, free: 9.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3324, allocations: 179.2 kB / 0.4933 GB, free: 8.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3324, allocations: 3.938 kB / 0.4933 GB, free: 8.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001585/0.334, allocations: 0.734 MB / 0.494 GB, free: 8.113 MB / 382.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.002765/0.3368, allocations: 1.206 MB / 0.4952 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.3372, allocations: 347.7 kB / 0.4956 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3373, allocations: 4 kB / 0.4956 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3374, allocations: 91.83 kB / 0.4957 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.338, allocations: 84.52 kB / 0.4957 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.3386, allocations: 410.5 kB / 0.4961 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.3389, allocations: 0.7084 MB / 0.4968 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.3392, allocations: 287.9 kB / 0.4971 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.3393, allocations: 27.42 kB / 0.4971 GB, free: 4.875 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3393, allocations: 3.938 kB / 0.4971 GB, free: 4.871 MB / 382.1 MB Notification: Performance of Templates: time 0.03432/0.3737, allocations: 25.9 MB / 0.5224 GB, free: 10.98 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)