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.001164/0.001164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001194/0.001194, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.191/1.191, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 2.102/2.102, allocations: 9.079 MB / 278.5 MB, free: 12.35 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.001351/0.001351, allocations: 68.33 kB / 337.6 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06885/0.07021, allocations: 48.15 MB / 385.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01583/0.08607, allocations: 18.12 MB / 403.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.09969, allocations: 17.53 MB / 421.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.09989, allocations: 4 kB / 421.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.1006, allocations: 278.8 kB / 421.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.101, allocations: 202.8 kB / 421.9 MB, free: 5.227 MB / 318.1 MB [/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.1469/0.2479, allocations: 6.616 MB / 428.5 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.2483, allocations: 348.2 kB / 428.9 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.282e-05/0.2484, allocations: 23.53 kB / 428.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.2487, allocations: 163.9 kB / 429 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.2488, allocations: 96.47 kB / 429.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2488, allocations: 10.78 kB / 429.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02518/0.274, allocations: 10.32 MB / 439.5 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2742, allocations: 22.03 kB / 439.5 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.2746, allocations: 99.91 kB / 439.6 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01748/0.2921, allocations: 4.47 MB / 444 MB, free: 16.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2921, allocations: 1 kB / 444 MB, free: 16.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2921, allocations: 0 / 444 MB, free: 16.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2921, allocations: 0 / 444 MB, free: 16.62 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003402/0.2956, allocations: 1.1 MB / 445.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.2956, allocations: 15 kB / 445.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.2957, allocations: 49.36 kB / 445.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.2958, allocations: 22.28 kB / 445.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2959, allocations: 192.4 kB / 445.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2959, allocations: 2.719 kB / 445.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2959, allocations: 4.719 kB / 445.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.2964, allocations: 166.9 kB / 445.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2964, allocations: 0 / 445.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2965, allocations: 8.281 kB / 445.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.2965, allocations: 9.547 kB / 445.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.297, allocations: 160 kB / 445.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.2977, allocations: 481.8 kB / 446.2 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.2981, allocations: 169.8 kB / 446.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.2984, allocations: 153 kB / 446.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1564/0.4548, allocations: 93.62 MB / 0.5275 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4549, allocations: 38.55 kB / 0.5276 GB, free: 6.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.417e-06/0.4549, allocations: 0 / 0.5276 GB, free: 6.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001066/0.456, allocations: 464.4 kB / 0.528 GB, free: 6.375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.4561, allocations: 55.41 kB / 0.528 GB, free: 6.309 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4562, allocations: 141.8 kB / 0.5282 GB, free: 6.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4562, allocations: 25.7 kB / 0.5282 GB, free: 6.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.4563, allocations: 94.22 kB / 0.5283 GB, free: 6.035 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4564, allocations: 136.5 kB / 0.5284 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.4565, allocations: 53.55 kB / 0.5285 GB, free: 5.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4566, allocations: 334.8 kB / 0.5288 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.4569, allocations: 120.4 kB / 0.5289 GB, free: 5.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.4571, allocations: 119.6 kB / 0.529 GB, free: 5.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.4576, allocations: 281.5 kB / 0.5293 GB, free: 5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4576, allocations: 4 kB / 0.5293 GB, free: 4.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005499/0.4581, allocations: 329.2 kB / 0.5296 GB, free: 4.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4582, allocations: 4 kB / 0.5296 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4582, allocations: 0 / 0.5296 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.4582, allocations: 4 kB / 0.5296 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4584, allocations: 27.91 kB / 0.5296 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4584, allocations: 0 / 0.5296 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.4586, allocations: 33.7 kB / 0.5297 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4586, allocations: 7.938 kB / 0.5297 GB, free: 4.598 MB / 414.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.0001158/0.4587, allocations: 125.8 kB / 0.5298 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.4588, allocations: 15.81 kB / 0.5298 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.4595, allocations: 401.8 kB / 0.5302 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.4595, allocations: 13.06 kB / 0.5302 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4596, allocations: 0 / 0.5302 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4596, allocations: 0 / 0.5302 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.4599, allocations: 301.5 kB / 0.5305 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4599, allocations: 4.969 kB / 0.5305 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.46, allocations: 23.97 kB / 0.5305 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.46, allocations: 4 kB / 0.5305 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.46, allocations: 0 / 0.5305 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.46, allocations: 4 kB / 0.5305 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.46, allocations: 0 / 0.5305 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.4607, allocations: 448.4 kB / 0.531 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.4608, allocations: 109.8 kB / 0.5311 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.4608, allocations: 3.984 kB / 0.5311 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.461, allocations: 15.98 kB / 0.5311 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.461, allocations: 7.984 kB / 0.5311 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.461, allocations: 5.828 kB / 0.5311 GB, free: 3.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.242e-05/0.4611, allocations: 111.2 kB / 0.5312 GB, free: 2.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4611, allocations: 1.203 kB / 0.5312 GB, free: 2.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003384/0.4645, allocations: 1.11 MB / 0.5323 GB, free: 1.848 MB / 414.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.005597/0.4701, allocations: 2.543 MB / 0.5348 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.4708, allocations: 309.6 kB / 0.5351 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4708, allocations: 4 kB / 0.5351 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.4711, allocations: 160.3 kB / 0.5352 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.472, allocations: 161.8 kB / 0.5354 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.474, allocations: 0.9779 MB / 0.5363 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.4743, allocations: 0.7289 MB / 0.5371 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.4744, allocations: 19.98 kB / 0.5371 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.4745, allocations: 51.42 kB / 0.5371 GB, free: 13.02 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4745, allocations: 0 / 0.5371 GB, free: 13.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6983/1.173, allocations: 33.27 MB / 0.5696 GB, free: 11.86 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/1.173, allocations: 234.2 kB / 0.5698 GB, free: 11.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.045/5.218, allocations: 0 / 0.5698 GB, free: 11.61 MB / 462.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)