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.0009881/0.0009881, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001053/0.001053, allocations: 196.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.108/4.108, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.3041/0.3041, allocations: 9.085 MB / 278.4 MB, free: 12.41 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.001287/0.001288, allocations: 63.91 kB / 337.4 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09268, allocations: 48.17 MB / 385.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01908/0.1118, allocations: 18.38 MB / 404 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.1283, allocations: 17.97 MB / 422 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.1285, allocations: 7.938 kB / 422 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000724/0.1293, allocations: 274.7 kB / 422.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.1298, allocations: 202.8 kB / 422.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2388/0.3686, allocations: 5.97 MB / 428.4 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.3692, allocations: 342.7 kB / 428.7 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.3692, allocations: 16.02 kB / 428.7 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.3696, allocations: 153.2 kB / 428.9 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3698, allocations: 97.17 kB / 429 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3698, allocations: 3.781 kB / 429 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/0.3892, allocations: 9.686 MB / 438.7 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.3893, allocations: 27.52 kB / 438.7 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.3897, allocations: 99.84 kB / 438.8 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.4052, allocations: 4.328 MB / 443.1 MB, free: 16.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.4052, allocations: 0.7812 kB / 443.1 MB, free: 16.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4052, allocations: 0 / 443.1 MB, free: 16.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.4052, allocations: 2.656 kB / 443.1 MB, free: 16.77 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.003348/0.4086, allocations: 1.092 MB / 444.2 MB, free: 16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4086, allocations: 12.19 kB / 444.2 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.4087, allocations: 45.11 kB / 444.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.4088, allocations: 25.28 kB / 444.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.4089, allocations: 198.4 kB / 444.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4089, allocations: 3.656 kB / 444.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.4089, allocations: 6.406 kB / 444.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.4093, allocations: 166.3 kB / 444.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4093, allocations: 0 / 444.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4094, allocations: 5.734 kB / 444.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.4094, allocations: 15.06 kB / 444.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.4098, allocations: 155.6 kB / 444.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.4104, allocations: 480.2 kB / 445.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.4107, allocations: 166.4 kB / 445.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.411, allocations: 155.7 kB / 445.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1454/0.5564, allocations: 93.61 MB / 0.5266 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.5564, allocations: 38.5 kB / 0.5266 GB, free: 7.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.5564, allocations: 4 kB / 0.5266 GB, free: 7.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001091/0.5575, allocations: 464.8 kB / 0.5271 GB, free: 7.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5576, allocations: 51.41 kB / 0.5271 GB, free: 7.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.5577, allocations: 145.8 kB / 0.5273 GB, free: 7.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5578, allocations: 29.7 kB / 0.5273 GB, free: 7.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.5578, allocations: 89.14 kB / 0.5274 GB, free: 6.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5579, allocations: 151.8 kB / 0.5275 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.558, allocations: 43.92 kB / 0.5276 GB, free: 6.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5582, allocations: 334.8 kB / 0.5279 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.5584, allocations: 116.4 kB / 0.528 GB, free: 6.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.5586, allocations: 126 kB / 0.5281 GB, free: 6.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.5592, allocations: 276.3 kB / 0.5284 GB, free: 5.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5592, allocations: 0 / 0.5284 GB, free: 5.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000611/0.5598, allocations: 334.3 kB / 0.5287 GB, free: 5.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5598, allocations: 9.688 kB / 0.5287 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5598, allocations: 0 / 0.5287 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5598, allocations: 0 / 0.5287 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.56, allocations: 23.97 kB / 0.5287 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.56, allocations: 0 / 0.5287 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.5602, allocations: 36.72 kB / 0.5288 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.5603, allocations: 3.938 kB / 0.5288 GB, free: 5.52 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.0001203/0.5604, allocations: 126.4 kB / 0.5289 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.5604, allocations: 15.81 kB / 0.5289 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.5612, allocations: 416.6 kB / 0.5293 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.5612, allocations: 11.98 kB / 0.5293 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5612, allocations: 2.562 kB / 0.5293 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5612, allocations: 1.094 kB / 0.5293 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.5616, allocations: 293.4 kB / 0.5296 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5616, allocations: 0 / 0.5296 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.5617, allocations: 19.97 kB / 0.5296 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5617, allocations: 0.6562 kB / 0.5296 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5617, allocations: 4 kB / 0.5296 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5618, allocations: 3.188 kB / 0.5296 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5618, allocations: 4 kB / 0.5296 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.5624, allocations: 448.7 kB / 0.5301 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5625, allocations: 109.4 kB / 0.5302 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.5626, allocations: 7.984 kB / 0.5302 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.5627, allocations: 15.98 kB / 0.5302 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.5628, allocations: 15.78 kB / 0.5302 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.5628, allocations: 4 kB / 0.5302 GB, free: 3.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.451e-05/0.5629, allocations: 107.2 kB / 0.5303 GB, free: 3.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5629, allocations: 0 / 0.5303 GB, free: 3.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00311/0.566, allocations: 1.11 MB / 0.5314 GB, free: 2.77 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.007258/0.5733, allocations: 2.542 MB / 0.5339 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006509/0.5739, allocations: 297.5 kB / 0.5342 GB, free: 92 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.574, allocations: 4 kB / 0.5342 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.5743, allocations: 156.4 kB / 0.5343 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.5752, allocations: 163.9 kB / 0.5345 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5778, allocations: 0.9708 MB / 0.5354 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5781, allocations: 0.737 MB / 0.5361 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.5783, allocations: 15.98 kB / 0.5362 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.5784, allocations: 47.42 kB / 0.5362 GB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5784, allocations: 0 / 0.5362 GB, free: 13.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05476/0.6331, allocations: 33.02 MB / 0.5685 GB, free: 13.02 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.6334, allocations: 232.2 kB / 0.5687 GB, free: 12.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/3.685, allocations: 4 kB / 0.5687 GB, free: 12.76 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)