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.001318/0.001318, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001757/0.001757, allocations: 216.4 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04934/0.04934, allocations: 9.165 MB / 295.2 MB, free: 12.78 MB / 238.1 MB " [Timeout remaining time 180] 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 71.12 kB / 411.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08008/0.08218, allocations: 50.75 MB / 462.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.0221/0.1043, allocations: 18.25 MB / 480.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0191/0.1234, allocations: 17.57 MB / 498.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.1236, allocations: 0 / 498.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008777/0.1245, allocations: 338.5 kB / 498.7 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005788/0.1251, allocations: 242.6 kB / 499 MB, free: 8.215 MB / 366.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.01858/0.1436, allocations: 7.766 MB / 0.4949 GB, free: 452 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.1441, allocations: 358.2 kB / 0.4952 GB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.1442, allocations: 8.594 kB / 0.4952 GB, free: 84 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.1445, allocations: 159.3 kB / 0.4954 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1446, allocations: 95.59 kB / 0.4955 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1446, allocations: 8 kB / 0.4955 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/0.1639, allocations: 11.12 MB / 0.5063 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1639, allocations: 23.91 kB / 0.5064 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.1641, allocations: 107.4 kB / 0.5065 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.1762, allocations: 4.477 MB / 0.5108 GB, free: 64 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1763, allocations: 4 kB / 0.5108 GB, free: 60 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1763, allocations: 0 / 0.5108 GB, free: 60 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1763, allocations: 0 / 0.5108 GB, free: 60 kB / 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.002505/0.1788, allocations: 1.059 MB / 0.5119 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1788, allocations: 15.98 kB / 0.5119 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.783e-05/0.1788, allocations: 4 kB / 0.5119 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.1789, allocations: 46.55 kB / 0.5119 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.1789, allocations: 23.86 kB / 0.512 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.179, allocations: 136.9 kB / 0.5121 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1791, allocations: 4 kB / 0.5121 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1791, allocations: 8 kB / 0.5121 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.1795, allocations: 172.2 kB / 0.5123 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1795, allocations: 0 / 0.5123 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1795, allocations: 0 / 0.5123 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1795, allocations: 11.98 kB / 0.5123 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.1799, allocations: 164.2 kB / 0.5124 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.1806, allocations: 464.3 kB / 0.5129 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.1809, allocations: 150.9 kB / 0.513 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.1812, allocations: 129.6 kB / 0.5131 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.296/0.4772, allocations: 27.47 MB / 0.54 GB, free: 68.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.4772, allocations: 38.75 kB / 0.54 GB, free: 68.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.295e-06/0.4772, allocations: 0 / 0.54 GB, free: 68.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.0009536/0.4782, allocations: 489.3 kB / 0.5405 GB, free: 68.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.4782, allocations: 59.36 kB / 0.5405 GB, free: 68.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.4783, allocations: 141.3 kB / 0.5407 GB, free: 68.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4783, allocations: 25.7 kB / 0.5407 GB, free: 68.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.4784, allocations: 92.7 kB / 0.5408 GB, free: 68.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.4784, allocations: 157 kB / 0.5409 GB, free: 67.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.4785, allocations: 41.56 kB / 0.541 GB, free: 67.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.4785, allocations: 333.8 kB / 0.5413 GB, free: 67.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.4788, allocations: 119.7 kB / 0.5414 GB, free: 67.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.479, allocations: 125.3 kB / 0.5415 GB, free: 67.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.4794, allocations: 297 kB / 0.5418 GB, free: 67.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4794, allocations: 0 / 0.5418 GB, free: 67.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005012/0.4799, allocations: 349.3 kB / 0.5421 GB, free: 67.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4799, allocations: 3.938 kB / 0.5421 GB, free: 67.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4799, allocations: 3.969 kB / 0.5421 GB, free: 67.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4799, allocations: 0 / 0.5421 GB, free: 67.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4801, allocations: 21.58 kB / 0.5422 GB, free: 67.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4801, allocations: 3.969 kB / 0.5422 GB, free: 67.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.4802, allocations: 28.56 kB / 0.5422 GB, free: 67.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4802, allocations: 3.969 kB / 0.5422 GB, free: 67.09 MB / 398.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 7.472e-05/0.4803, allocations: 127.9 kB / 0.5423 GB, free: 66.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.4803, allocations: 19.8 kB / 0.5423 GB, free: 66.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.481, allocations: 412 kB / 0.5427 GB, free: 66.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.481, allocations: 11.89 kB / 0.5427 GB, free: 66.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.481, allocations: 3.375 kB / 0.5427 GB, free: 66.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.481, allocations: 3.984 kB / 0.5427 GB, free: 66.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.4812, allocations: 263.1 kB / 0.543 GB, free: 66.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4812, allocations: 0.875 kB / 0.543 GB, free: 66.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.4813, allocations: 19.83 kB / 0.543 GB, free: 66.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4813, allocations: 3.938 kB / 0.543 GB, free: 66.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4814, allocations: 3.984 kB / 0.543 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4814, allocations: 11.91 kB / 0.543 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4814, allocations: 0.875 kB / 0.543 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.4819, allocations: 448.8 kB / 0.5435 GB, free: 66.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.482, allocations: 37.7 kB / 0.5435 GB, free: 66.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.482, allocations: 4 kB / 0.5435 GB, free: 66.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4821, allocations: 19.86 kB / 0.5435 GB, free: 66.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4822, allocations: 11.94 kB / 0.5435 GB, free: 66.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4822, allocations: 3.969 kB / 0.5435 GB, free: 66.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.076e-05/0.4822, allocations: 99.17 kB / 0.5436 GB, free: 66.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4822, allocations: 1.875 kB / 0.5436 GB, free: 66.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002191/0.4844, allocations: 1.14 MB / 0.5447 GB, free: 65.93 MB / 398.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.004822/0.4893, allocations: 2.577 MB / 0.5473 GB, free: 63.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005776/0.4898, allocations: 275.3 kB / 0.5475 GB, free: 63.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4898, allocations: 8 kB / 0.5475 GB, free: 63.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.4901, allocations: 137.4 kB / 0.5477 GB, free: 63.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/0.491, allocations: 165.5 kB / 0.5478 GB, free: 63.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4929, allocations: 0.9134 MB / 0.5487 GB, free: 62.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.493, allocations: 0.7369 MB / 0.5494 GB, free: 61.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.457e-05/0.4931, allocations: 18.36 kB / 0.5495 GB, free: 61.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.4932, allocations: 51.42 kB / 0.5495 GB, free: 61.43 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4932, allocations: 3.938 kB / 0.5495 GB, free: 61.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/0.5484, allocations: 34 MB / 0.5827 GB, free: 27.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.64, allocations: 7.938 kB / 0.5827 GB, free: 27.46 MB / 398.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.214219033019617] Failed to read output from testmodel.py, exit status != 0: 12.822917033918202 12.839559051 12.660564169 Calling exit ...