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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04947/0.04947, allocations: 9.141 MB / 321.6 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.83 kB / 446.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1046, allocations: 54.94 MB / 0.4897 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02256/0.1271, allocations: 16.49 MB / 0.5058 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2145/0.3417, allocations: 15.57 MB / 0.521 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.3419, allocations: 0 / 0.521 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.3425, allocations: 258.2 kB / 0.5213 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.343, allocations: 246.1 kB / 0.5215 GB, free: 6.969 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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.01674/0.3598, allocations: 7.639 MB / 0.5289 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.3602, allocations: 350.9 kB / 0.5293 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.3603, allocations: 15.84 kB / 0.5293 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.3606, allocations: 174.9 kB / 0.5295 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3607, allocations: 97.33 kB / 0.5296 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3607, allocations: 7.188 kB / 0.5296 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.3742, allocations: 7.549 MB / 0.5369 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.3742, allocations: 27.92 kB / 0.537 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3744, allocations: 81.45 kB / 0.537 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009486/0.3839, allocations: 3.871 MB / 0.5408 GB, free: 4.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3839, allocations: 1.312 kB / 0.5408 GB, free: 4.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3839, allocations: 0 / 0.5408 GB, free: 4.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3839, allocations: 0 / 0.5408 GB, free: 4.074 MB / 382.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.002427/0.3863, allocations: 1.049 MB / 0.5418 GB, free: 3.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3864, allocations: 12.62 kB / 0.5419 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.3864, allocations: 52.06 kB / 0.5419 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.3866, allocations: 34.08 kB / 0.5419 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.3868, allocations: 154.1 kB / 0.5421 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.3868, allocations: 1.375 kB / 0.5421 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3868, allocations: 7.938 kB / 0.5421 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.3871, allocations: 167 kB / 0.5423 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3871, allocations: 0 / 0.5423 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3871, allocations: 6.328 kB / 0.5423 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3872, allocations: 14.34 kB / 0.5423 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.3876, allocations: 158.5 kB / 0.5424 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.388, allocations: 458.2 kB / 0.5429 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.3883, allocations: 145.5 kB / 0.543 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.3885, allocations: 132.7 kB / 0.5431 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1209/0.5094, allocations: 27.57 MB / 0.5701 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.5094, allocations: 34.56 kB / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.417e-06/0.5094, allocations: 0.5625 kB / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001172/0.5106, allocations: 487.7 kB / 0.5706 GB, free: 12.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.5107, allocations: 55.41 kB / 0.5706 GB, free: 11.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.5108, allocations: 139.9 kB / 0.5707 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.5108, allocations: 29.7 kB / 0.5708 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.5109, allocations: 85.14 kB / 0.5708 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.511, allocations: 158.2 kB / 0.571 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5111, allocations: 49.64 kB / 0.571 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5113, allocations: 334.8 kB / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.5116, allocations: 120.4 kB / 0.5715 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.5118, allocations: 126 kB / 0.5716 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.5124, allocations: 295.7 kB / 0.5719 GB, free: 10.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5124, allocations: 0 / 0.5719 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006638/0.5131, allocations: 333.3 kB / 0.5722 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5131, allocations: 4 kB / 0.5722 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5131, allocations: 0 / 0.5722 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5131, allocations: 0 / 0.5722 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.5133, allocations: 27.97 kB / 0.5722 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5133, allocations: 3.938 kB / 0.5722 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.5134, allocations: 35.7 kB / 0.5723 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.5135, allocations: 11.98 kB / 0.5723 GB, free: 10.22 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.0001286/0.5136, allocations: 125.8 kB / 0.5724 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.5136, allocations: 21.12 kB / 0.5724 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.5145, allocations: 409.8 kB / 0.5728 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.5145, allocations: 11.98 kB / 0.5728 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5145, allocations: 0 / 0.5728 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5145, allocations: 0 / 0.5728 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.5149, allocations: 260 kB / 0.5731 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5149, allocations: 0.9375 kB / 0.5731 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.515, allocations: 23.97 kB / 0.5731 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.515, allocations: 0 / 0.5731 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.515, allocations: 4 kB / 0.5731 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.515, allocations: 0 / 0.5731 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.515, allocations: 0 / 0.5731 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.5158, allocations: 459.8 kB / 0.5735 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5159, allocations: 43.77 kB / 0.5736 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.5159, allocations: 4.266 kB / 0.5736 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.5161, allocations: 15.98 kB / 0.5736 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.5161, allocations: 7.984 kB / 0.5736 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.5161, allocations: 7.984 kB / 0.5736 GB, free: 8.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.338e-05/0.5162, allocations: 105.5 kB / 0.5737 GB, free: 8.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5162, allocations: 0 / 0.5737 GB, free: 8.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0033/0.5195, allocations: 1.142 MB / 0.5748 GB, free: 7.543 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.00683/0.5264, allocations: 2.575 MB / 0.5773 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007286/0.5271, allocations: 271.3 kB / 0.5776 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5271, allocations: 0 / 0.5776 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.5274, allocations: 136.4 kB / 0.5777 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.5284, allocations: 176.3 kB / 0.5779 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.5337, allocations: 2.824 MB / 0.5807 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.5338, allocations: 121.2 kB / 0.5808 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.5339, allocations: 16.56 kB / 0.5808 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5341, allocations: 55.42 kB / 0.5808 GB, free: 1.457 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5341, allocations: 0 / 0.5808 GB, free: 1.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/0.6118, allocations: 34.81 MB / 0.6148 GB, free: 14.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.49, allocations: 14.77 kB / 0.6148 GB, free: 14.96 MB / 462.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0048 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.060910192783922] Failed to read output from testmodel.py, exit status != 0: 12.617198936175555 12.632435066 12.245491856 Calling exit ...