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.000856/0.000856, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009546/0.0009546, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.894/0.894, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.0292/0.0292, allocations: 7.517 MB / 266.7 MB, free: 6.195 MB / 250.7 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 2.845e-06/2.845e-06, allocations: 0 / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.273e-05, allocations: 5.234 kB / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01335/0.01338, allocations: 16.47 MB / 408.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.02407, allocations: 15.59 MB / 423.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.02418, allocations: 0 / 423.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.02473, allocations: 262.6 kB / 424 MB, free: 5.926 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.0251, allocations: 246.4 kB / 424.3 MB, free: 5.684 MB / 394.7 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.01112/0.03623, allocations: 7.741 MB / 432 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.03652, allocations: 373.9 kB / 432.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.03657, allocations: 12.58 kB / 432.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.03686, allocations: 231.3 kB / 432.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.03695, allocations: 75.81 kB / 432.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.03697, allocations: 8 kB / 432.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007716/0.04468, allocations: 7.604 MB / 440.3 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.04472, allocations: 23.86 kB / 440.3 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.04479, allocations: 71.84 kB / 440.4 MB, free: 5.531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005439/0.05023, allocations: 4.586 MB / 445 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.05024, allocations: 0 / 445 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.05024, allocations: 0 / 445 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.05024, allocations: 8 kB / 445 MB, free: 0.9258 MB / 410.7 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.1469/0.1971, allocations: 1.044 MB / 446.1 MB, free: 92.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1972, allocations: 12.34 kB / 446.1 MB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.1972, allocations: 45.28 kB / 446.1 MB, free: 92.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.1973, allocations: 27.58 kB / 446.1 MB, free: 92.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1976, allocations: 145 kB / 446.3 MB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1976, allocations: 9.938 kB / 446.3 MB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1976, allocations: 11.41 kB / 446.3 MB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1978, allocations: 177 kB / 446.5 MB, free: 92.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1978, allocations: 0 / 446.5 MB, free: 92.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1978, allocations: 3.625 kB / 446.5 MB, free: 92.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1978, allocations: 13.23 kB / 446.5 MB, free: 92.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.198, allocations: 160.8 kB / 446.6 MB, free: 92.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.1984, allocations: 458.4 kB / 447.1 MB, free: 91.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1986, allocations: 140.4 kB / 447.2 MB, free: 91.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1987, allocations: 131.1 kB / 447.4 MB, free: 91.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05565/0.2543, allocations: 27.56 MB / 474.9 MB, free: 88.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2544, allocations: 31.72 kB / 474.9 MB, free: 88.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 1.894e-06/0.2544, allocations: 1.438 kB / 474.9 MB, free: 88.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008424/0.2552, allocations: 491.8 kB / 475.4 MB, free: 88.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2552, allocations: 58.64 kB / 475.5 MB, free: 88.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2554, allocations: 142.5 kB / 475.6 MB, free: 88.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.2554, allocations: 25.7 kB / 475.6 MB, free: 88.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.2554, allocations: 89.42 kB / 475.7 MB, free: 88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/0.2555, allocations: 155.3 kB / 475.9 MB, free: 87.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.2556, allocations: 50.28 kB / 475.9 MB, free: 87.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.2556, allocations: 329.1 kB / 476.3 MB, free: 87.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.2558, allocations: 128 kB / 476.4 MB, free: 87.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.256, allocations: 120.3 kB / 476.5 MB, free: 87.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.2563, allocations: 291.5 kB / 476.8 MB, free: 87.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2563, allocations: 4 kB / 476.8 MB, free: 87.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003495/0.2566, allocations: 340.8 kB / 477.1 MB, free: 87.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2566, allocations: 5.031 kB / 477.1 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2566, allocations: 0 / 477.1 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2567, allocations: 1.562 kB / 477.1 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.2567, allocations: 25.06 kB / 477.2 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2568, allocations: 9.141 kB / 477.2 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.2568, allocations: 31.7 kB / 477.2 MB, free: 87.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2568, allocations: 2.188 kB / 477.2 MB, free: 87.2 MB / 410.7 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 6.538e-05/0.2569, allocations: 122.2 kB / 477.3 MB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.2569, allocations: 24.89 kB / 477.3 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.2574, allocations: 412.9 kB / 477.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.2574, allocations: 13.53 kB / 477.8 MB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2574, allocations: 3.938 kB / 477.8 MB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2574, allocations: 0 / 477.8 MB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2576, allocations: 255.6 kB / 478 MB, free: 86.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2576, allocations: 3.938 kB / 478 MB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.2577, allocations: 22.88 kB / 478 MB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2577, allocations: 0 / 478 MB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2577, allocations: 5.562 kB / 478 MB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2577, allocations: 2.031 kB / 478 MB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2577, allocations: 3.938 kB / 478 MB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.2581, allocations: 454.3 kB / 478.5 MB, free: 86.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.2581, allocations: 38.66 kB / 478.5 MB, free: 86.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2581, allocations: 5.25 kB / 478.5 MB, free: 86.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.2582, allocations: 19.89 kB / 478.6 MB, free: 86.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2582, allocations: 12.59 kB / 478.6 MB, free: 86.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.2582, allocations: 13.09 kB / 478.6 MB, free: 86.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.2583, allocations: 98.47 kB / 478.7 MB, free: 86.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2583, allocations: 0 / 478.7 MB, free: 86.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001887/0.2602, allocations: 1.144 MB / 479.8 MB, free: 86.21 MB / 410.7 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.003424/0.2636, allocations: 2.717 MB / 482.5 MB, free: 84.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.2639, allocations: 280.7 kB / 482.8 MB, free: 84.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.264, allocations: 2.125 kB / 482.8 MB, free: 84.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2641, allocations: 141.2 kB / 482.9 MB, free: 84.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.2646, allocations: 159.6 kB / 483.1 MB, free: 84.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.2667, allocations: 2.839 MB / 485.9 MB, free: 82.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.2667, allocations: 126 kB / 486.1 MB, free: 82.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.095e-05/0.2668, allocations: 20.19 kB / 486.1 MB, free: 82.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.2669, allocations: 48.67 kB / 486.1 MB, free: 82.46 MB / 410.7 MB Notification: Performance of SimCode: time 9.61e-07/0.2669, allocations: 3.391 kB / 486.1 MB, free: 82.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.3057, allocations: 35.06 MB / 0.509 GB, free: 48.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.734, allocations: 3.859 kB / 0.509 GB, free: 48.16 MB / 410.7 MB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 11.542916852980852] Failed to read output from testmodel.py, exit status != 0: 7.829173722304404 7.834259487 7.782726457 Calling exit ...