Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0102/0.0102, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001434/0.001434, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04532/0.04532, allocations: 9.092 MB / 279 MB, free: 12.07 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.001367/0.001368, allocations: 76.47 kB / 387.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3337, allocations: 48.15 MB / 435.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02265/0.3564, allocations: 18.13 MB / 453.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.3762, allocations: 17.53 MB / 471.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.3767, allocations: 1.156 kB / 471.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.3779, allocations: 304.8 kB / 471.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.3786, allocations: 218.5 kB / 471.8 MB, free: 11.35 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02407/0.4027, allocations: 7.315 MB / 479.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.4035, allocations: 354.2 kB / 479.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.4036, allocations: 20.28 kB / 479.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.404, allocations: 155.4 kB / 479.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.4042, allocations: 103.5 kB / 479.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.4043, allocations: 4 kB / 479.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/0.4267, allocations: 10.62 MB / 490.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.4268, allocations: 27.84 kB / 490.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.427, allocations: 95.55 kB / 490.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.4425, allocations: 4.473 MB / 494.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4426, allocations: 0 / 494.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4426, allocations: 0 / 494.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4426, allocations: 0 / 494.9 MB, free: 5.27 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002734/0.4453, allocations: 1.126 MB / 496.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4454, allocations: 8.031 kB / 496.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.4455, allocations: 23.86 kB / 496.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4456, allocations: 190.7 kB / 496.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4456, allocations: 4 kB / 496.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.4457, allocations: 4 kB / 496.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.446, allocations: 176.1 kB / 496.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4461, allocations: 3.938 kB / 496.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4461, allocations: 4 kB / 496.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.4461, allocations: 11.98 kB / 496.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.4466, allocations: 156.3 kB / 496.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.4472, allocations: 485.2 kB / 497.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.4475, allocations: 170.9 kB / 497.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.4478, allocations: 149.7 kB / 497.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1535/0.6013, allocations: 93.62 MB / 0.5772 GB, free: 4.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.6014, allocations: 42.53 kB / 0.5772 GB, free: 4.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 3.286e-06/0.6014, allocations: 0 / 0.5772 GB, free: 4.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.001093/0.6025, allocations: 467.7 kB / 0.5777 GB, free: 4.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.6025, allocations: 59.41 kB / 0.5777 GB, free: 4.008 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.6027, allocations: 137.3 kB / 0.5779 GB, free: 3.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.6027, allocations: 33.7 kB / 0.5779 GB, free: 3.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.6028, allocations: 93.08 kB / 0.578 GB, free: 3.734 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.603, allocations: 154.6 kB / 0.5781 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.603, allocations: 45.7 kB / 0.5782 GB, free: 3.531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6032, allocations: 334.8 kB / 0.5785 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.6034, allocations: 116.4 kB / 0.5786 GB, free: 3.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.6037, allocations: 126 kB / 0.5787 GB, free: 2.957 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.6042, allocations: 275.7 kB / 0.579 GB, free: 2.684 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6042, allocations: 4 kB / 0.579 GB, free: 2.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006331/0.6049, allocations: 337.2 kB / 0.5793 GB, free: 2.348 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6049, allocations: 4 kB / 0.5793 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.6049, allocations: 0 / 0.5793 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.6049, allocations: 0 / 0.5793 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.6051, allocations: 23.97 kB / 0.5793 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6051, allocations: 4 kB / 0.5793 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.6053, allocations: 31.83 kB / 0.5794 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.6053, allocations: 4 kB / 0.5794 GB, free: 2.281 MB / 478.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001201/0.6054, allocations: 129.7 kB / 0.5795 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.6055, allocations: 23.86 kB / 0.5795 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007883/0.6063, allocations: 399.9 kB / 0.5799 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.6063, allocations: 11.98 kB / 0.5799 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.6063, allocations: 0 / 0.5799 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6064, allocations: 3.938 kB / 0.5799 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.6067, allocations: 289.7 kB / 0.5802 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6068, allocations: 4 kB / 0.5802 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.6069, allocations: 27.91 kB / 0.5802 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6069, allocations: 0 / 0.5802 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.6069, allocations: 4 kB / 0.5802 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6069, allocations: 0 / 0.5802 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6069, allocations: 4 kB / 0.5802 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.6076, allocations: 439.9 kB / 0.5806 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.6078, allocations: 112.9 kB / 0.5808 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.6078, allocations: 7.984 kB / 0.5808 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.608, allocations: 11.98 kB / 0.5808 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.608, allocations: 11.98 kB / 0.5808 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.608, allocations: 4 kB / 0.5808 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.495e-05/0.6081, allocations: 107.2 kB / 0.5809 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6081, allocations: 4 kB / 0.5809 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00331/0.6115, allocations: 1.137 MB / 0.582 GB, free: 15.47 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005604/0.6171, allocations: 1.694 MB / 0.5837 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007318/0.6178, allocations: 299.2 kB / 0.5839 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6179, allocations: 0 / 0.5839 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.6182, allocations: 160.4 kB / 0.5841 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.6192, allocations: 156.3 kB / 0.5842 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.6199, allocations: 403.1 kB / 0.5846 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.6202, allocations: 0.7328 MB / 0.5853 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.6204, allocations: 15.98 kB / 0.5854 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.6204, allocations: 19.44 kB / 0.5854 GB, free: 11.95 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6204, allocations: 0 / 0.5854 GB, free: 11.95 MB / 494.1 MB Notification: Performance of Templates: time 0.2604/0.8808, allocations: 30.75 MB / 0.6154 GB, free: 168.9 MB / 494.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)