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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007914/0.007914, allocations: 97.12 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.001968/0.001967, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.432/1.432, allocations: 205.1 MB / 222.6 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.04656/0.04656, allocations: 9.099 MB / 279 MB, free: 12.08 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.001555/0.001556, allocations: 67.91 kB / 387 MB, free: 8.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2646, allocations: 48.16 MB / 435.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01989/0.2845, allocations: 18.12 MB / 453.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.3012, allocations: 17.53 MB / 470.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.3015, allocations: 1.031 kB / 470.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007899/0.3023, allocations: 297.7 kB / 471.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.3029, allocations: 230 kB / 471.3 MB, free: 11.11 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.02214/0.325, allocations: 7.32 MB / 478.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000495/0.3256, allocations: 350.2 kB / 478.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.3256, allocations: 12.31 kB / 479 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.3259, allocations: 159.3 kB / 479.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.3261, allocations: 99.56 kB / 479.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3261, allocations: 4 kB / 479.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/0.3452, allocations: 10.63 MB / 489.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.3453, allocations: 19.92 kB / 489.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.3456, allocations: 103.5 kB / 490 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.3618, allocations: 4.459 MB / 494.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3618, allocations: 0 / 494.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3619, allocations: 0 / 494.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3619, allocations: 0 / 494.4 MB, free: 5.355 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.002995/0.3649, allocations: 1.095 MB / 495.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3649, allocations: 16.02 kB / 495.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.438e-05/0.365, allocations: 50.55 kB / 495.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.3651, allocations: 15.81 kB / 495.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3652, allocations: 190.6 kB / 495.8 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3653, allocations: 4 kB / 495.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3653, allocations: 4 kB / 495.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.3657, allocations: 172.2 kB / 496 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3657, allocations: 0 / 496 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3657, allocations: 4 kB / 496 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.3658, allocations: 11.98 kB / 496 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.3662, allocations: 160.2 kB / 496.1 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.3668, allocations: 489.1 kB / 496.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.3672, allocations: 166.9 kB / 496.8 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3674, allocations: 157.6 kB / 496.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1574/0.5249, allocations: 93.61 MB / 0.5767 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.5249, allocations: 38.56 kB / 0.5767 GB, free: 4.617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 4.669e-06/0.525, allocations: 0 / 0.5767 GB, free: 4.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.001168/0.5261, allocations: 475.5 kB / 0.5772 GB, free: 4.148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5262, allocations: 59.39 kB / 0.5772 GB, free: 4.078 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.5264, allocations: 141.3 kB / 0.5774 GB, free: 3.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.5264, allocations: 25.7 kB / 0.5774 GB, free: 3.902 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.5265, allocations: 89.14 kB / 0.5775 GB, free: 3.812 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.5266, allocations: 145.8 kB / 0.5776 GB, free: 3.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-05/0.5267, allocations: 45.69 kB / 0.5777 GB, free: 3.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5268, allocations: 334.8 kB / 0.578 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.5271, allocations: 120.4 kB / 0.5781 GB, free: 3.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.5274, allocations: 118 kB / 0.5782 GB, free: 3.047 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.5279, allocations: 287.6 kB / 0.5785 GB, free: 2.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5279, allocations: 3.938 kB / 0.5785 GB, free: 2.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000588/0.5285, allocations: 325.2 kB / 0.5788 GB, free: 2.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5285, allocations: 9.094 kB / 0.5788 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5285, allocations: 0 / 0.5788 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5286, allocations: 0 / 0.5788 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5287, allocations: 19.98 kB / 0.5788 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5288, allocations: 4 kB / 0.5788 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.5289, allocations: 39.66 kB / 0.5789 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.5289, allocations: 0 / 0.5789 GB, free: 2.367 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.00017/0.5291, allocations: 137.6 kB / 0.579 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.5292, allocations: 19.72 kB / 0.579 GB, free: 2.203 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.53, allocations: 400 kB / 0.5794 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.53, allocations: 15.92 kB / 0.5794 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5301, allocations: 0 / 0.5794 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5301, allocations: 3.984 kB / 0.5794 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.5304, allocations: 289.6 kB / 0.5797 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5304, allocations: 0 / 0.5797 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.5306, allocations: 23.98 kB / 0.5797 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5306, allocations: 7.969 kB / 0.5797 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5306, allocations: 8 kB / 0.5797 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5306, allocations: 0 / 0.5797 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5306, allocations: 0 / 0.5797 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.5313, allocations: 447.7 kB / 0.5802 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5314, allocations: 112.8 kB / 0.5803 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.5314, allocations: 0 / 0.5803 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.5316, allocations: 15.97 kB / 0.5803 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.5317, allocations: 15.98 kB / 0.5803 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.5317, allocations: 7.938 kB / 0.5803 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.011e-05/0.5318, allocations: 99.27 kB / 0.5804 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5318, allocations: 4 kB / 0.5804 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002817/0.5346, allocations: 1.124 MB / 0.5815 GB, free: 15.56 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.007353/0.542, allocations: 2.528 MB / 0.584 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.5428, allocations: 295.3 kB / 0.5843 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5428, allocations: 0 / 0.5843 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.5432, allocations: 164.3 kB / 0.5844 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.5441, allocations: 148.5 kB / 0.5846 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.5474, allocations: 0.9103 MB / 0.5854 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.5479, allocations: 0.7328 MB / 0.5862 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.548, allocations: 19.98 kB / 0.5862 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5481, allocations: 47.42 kB / 0.5862 GB, free: 10.64 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5481, allocations: 4 kB / 0.5862 GB, free: 10.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2717/0.8199, allocations: 33.65 MB / 0.6191 GB, free: 161.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/10.11, allocations: 9.031 kB / 0.6191 GB, free: 161.5 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)