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.001314/0.001314, allocations: 112.6 kB / 16.37 MB, free: 6 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.001293/0.001293, allocations: 196 kB / 17.31 MB, free: 5.613 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.781/1.781, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05084/0.05084, allocations: 9.087 MB / 279.6 MB, free: 2.984 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.001838/0.001838, allocations: 67.91 kB / 339.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.36, allocations: 48.15 MB / 387.6 MB, free: 51.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02658/0.3866, allocations: 17.26 MB / 404.9 MB, free: 38.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.4043, allocations: 15.53 MB / 420.4 MB, free: 26.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.4046, allocations: 1.094 kB / 420.4 MB, free: 26.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.4064, allocations: 393.8 kB / 420.8 MB, free: 25.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.4108, allocations: 1.269 MB / 422.1 MB, free: 24.96 MB / 318.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.0159/0.4267, allocations: 4.422 MB / 426.5 MB, free: 20.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.4271, allocations: 147.2 kB / 426.6 MB, free: 20.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.4272, allocations: 17.02 kB / 426.7 MB, free: 20.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.4274, allocations: 67.7 kB / 426.7 MB, free: 20.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.4276, allocations: 47.73 kB / 426.8 MB, free: 20.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.4276, allocations: 0 / 426.8 MB, free: 20.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/0.446, allocations: 8.593 MB / 435.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.4461, allocations: 15.88 kB / 435.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.4463, allocations: 59.66 kB / 435.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.4606, allocations: 3.496 MB / 438.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.4607, allocations: 0 / 438.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.479e-06/0.4607, allocations: 0 / 438.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.4607, allocations: 0 / 438.9 MB, free: 8.074 MB / 318.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.002523/0.4633, allocations: 0.7922 MB / 439.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.4633, allocations: 8.031 kB / 439.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005079/0.4639, allocations: 55.75 kB / 439.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.464, allocations: 178.8 kB / 440 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.4641, allocations: 11.94 kB / 440 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4641, allocations: 4 kB / 440 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.4645, allocations: 261.3 kB / 440.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4645, allocations: 0 / 440.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.4646, allocations: 8 kB / 440.2 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4646, allocations: 7.984 kB / 440.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.4651, allocations: 447.8 kB / 440.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.4655, allocations: 336.8 kB / 441 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.4658, allocations: 270.5 kB / 441.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.466, allocations: 248.8 kB / 441.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01749/0.4835, allocations: 10.02 MB / 451.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.4837, allocations: 38.5 kB / 451.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 5.19e-06/0.4837, allocations: 0 / 451.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.001343/0.485, allocations: 0.6618 MB / 452.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4851, allocations: 55.41 kB / 452.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.4852, allocations: 93.86 kB / 452.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4853, allocations: 25.7 kB / 452.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.4853, allocations: 84.8 kB / 452.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.4855, allocations: 138.1 kB / 452.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.4856, allocations: 41.69 kB / 452.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4857, allocations: 330.8 kB / 453 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.486, allocations: 191.9 kB / 453.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.4862, allocations: 189 kB / 453.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.4867, allocations: 451.5 kB / 453.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4867, allocations: 0 / 453.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006198/0.4874, allocations: 495.5 kB / 454.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4874, allocations: 4 kB / 454.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4874, allocations: 3.938 kB / 454.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4875, allocations: 0 / 454.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.4876, allocations: 31.91 kB / 454.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4877, allocations: 0 / 454.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.4878, allocations: 23.69 kB / 454.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.4878, allocations: 7.984 kB / 454.4 MB, free: 6.695 MB / 334.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.0001273/0.4879, allocations: 129.8 kB / 454.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.488, allocations: 11.81 kB / 454.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.4889, allocations: 0.6697 MB / 455.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.489, allocations: 0 / 455.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.489, allocations: 0 / 455.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.489, allocations: 7.922 kB / 455.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4902, allocations: 0.9045 MB / 456.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4902, allocations: 9.906 kB / 456.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4904, allocations: 31.97 kB / 456.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4904, allocations: 4 kB / 456.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4904, allocations: 8 kB / 456.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.4904, allocations: 7.938 kB / 456.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4904, allocations: 4 kB / 456.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.4909, allocations: 375.7 kB / 456.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.491, allocations: 89.02 kB / 456.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.491, allocations: 15.84 kB / 456.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4912, allocations: 8 kB / 456.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.4912, allocations: 15.92 kB / 456.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4912, allocations: 11.98 kB / 456.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.4914, allocations: 171.2 kB / 456.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4914, allocations: 3.938 kB / 456.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003051/0.4945, allocations: 0.7534 MB / 457.6 MB, free: 3.227 MB / 334.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.003346/0.4978, allocations: 1.204 MB / 458.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.4984, allocations: 343.8 kB / 459.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4985, allocations: 0 / 459.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4986, allocations: 95.95 kB / 459.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.4993, allocations: 80.69 kB / 459.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.5001, allocations: 410.5 kB / 459.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.5005, allocations: 0.7123 MB / 460.4 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003762/0.5008, allocations: 286.1 kB / 460.7 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.5009, allocations: 19.42 kB / 460.7 MB, free: 32 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5009, allocations: 0 / 460.7 MB, free: 32 kB / 334.1 MB Notification: Performance of Templates: time 0.03973/0.5407, allocations: 25.89 MB / 486.6 MB, free: 6.164 MB / 366.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 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1)