Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.00134/0.00134, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001443/0.001443, allocations: 216.7 kB / 23.03 MB, free: 4.949 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.34/1.34, allocations: 207.7 MB / 233.9 MB, free: 9.781 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.05091/0.05091, allocations: 9.149 MB / 295.3 MB, free: 12.52 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_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",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.002152/0.002152, allocations: 75.31 kB / 411.8 MB, free: 46.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.0736, allocations: 50.75 MB / 462.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01573/0.08933, allocations: 12.05 MB / 474.6 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.1091, allocations: 15.58 MB / 490.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1092, allocations: 4 kB / 490.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1094, allocations: 47.73 kB / 490.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1096, allocations: 67.39 kB / 490.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01652/0.1261, allocations: 6.689 MB / 497 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.1264, allocations: 170.9 kB / 497.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.1264, allocations: 5.312 kB / 497.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1266, allocations: 67.77 kB / 497.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1267, allocations: 59.72 kB / 497.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1267, allocations: 4 kB / 497.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01975/0.1464, allocations: 10.76 MB / 0.4962 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1465, allocations: 19.92 kB / 0.4962 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1466, allocations: 55.73 kB / 0.4962 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.1613, allocations: 6.057 MB / 0.5022 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1613, allocations: 4 kB / 0.5022 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1613, allocations: 0 / 0.5022 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1613, allocations: 0 / 0.5022 GB, free: 8.762 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.004231/0.1655, allocations: 1.311 MB / 0.5034 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1656, allocations: 11.98 kB / 0.5034 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.789e-05/0.1656, allocations: 8.188 kB / 0.5035 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.1656, allocations: 38.75 kB / 0.5035 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.1657, allocations: 20.84 kB / 0.5035 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1658, allocations: 134.3 kB / 0.5036 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1658, allocations: 8.125 kB / 0.5036 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1659, allocations: 12 kB / 0.5037 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009476/0.1668, allocations: 324 kB / 0.504 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1668, allocations: 0 / 0.504 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1668, allocations: 4 kB / 0.504 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1668, allocations: 4 kB / 0.504 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.1678, allocations: 307.6 kB / 0.5043 GB, free: 6.504 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.1688, allocations: 0.8205 MB / 0.5051 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009112/0.1697, allocations: 295.6 kB / 0.5054 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.1699, allocations: 86.52 kB / 0.5054 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5465/0.7165, allocations: 120.1 MB / 0.6227 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.7165, allocations: 38.31 kB / 0.6227 GB, free: 15.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 2.505e-06/0.7165, allocations: 0 / 0.6227 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.002073/0.7186, allocations: 491.3 kB / 0.6232 GB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.7187, allocations: 108 kB / 0.6233 GB, free: 15.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.7188, allocations: 154.1 kB / 0.6235 GB, free: 14.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.7189, allocations: 29.7 kB / 0.6235 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.719, allocations: 118.5 kB / 0.6236 GB, free: 14.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.719, allocations: 48.36 kB / 0.6236 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.7191, allocations: 45.66 kB / 0.6237 GB, free: 14.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.7193, allocations: 318.8 kB / 0.624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.7195, allocations: 51.95 kB / 0.624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.7197, allocations: 117.5 kB / 0.6242 GB, free: 14.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.7202, allocations: 177.2 kB / 0.6243 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7202, allocations: 0 / 0.6243 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005664/0.7207, allocations: 207 kB / 0.6245 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7208, allocations: 4 kB / 0.6245 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.7208, allocations: 5.406 kB / 0.6245 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7208, allocations: 4.219 kB / 0.6245 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.721, allocations: 51.91 kB / 0.6246 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.721, allocations: 7.938 kB / 0.6246 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.7212, allocations: 29.89 kB / 0.6246 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.7212, allocations: 4 kB / 0.6246 GB, free: 13.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000126/0.7214, allocations: 125.8 kB / 0.6247 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.7215, allocations: 15.91 kB / 0.6248 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.7228, allocations: 1.186 MB / 0.6259 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.7228, allocations: 15.97 kB / 0.6259 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.7228, allocations: 3.938 kB / 0.6259 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.7228, allocations: 7.984 kB / 0.6259 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.7235, allocations: 0.5541 MB / 0.6265 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7235, allocations: 4 kB / 0.6265 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.7237, allocations: 39.84 kB / 0.6265 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7237, allocations: 6.25 kB / 0.6265 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.7237, allocations: 4 kB / 0.6265 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7237, allocations: 4 kB / 0.6265 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7237, allocations: 5.875 kB / 0.6265 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.7248, allocations: 0.8747 MB / 0.6274 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.7249, allocations: 63.48 kB / 0.6275 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.7249, allocations: 4 kB / 0.6275 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.7251, allocations: 15.98 kB / 0.6275 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.7252, allocations: 19.91 kB / 0.6275 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.7252, allocations: 8 kB / 0.6275 GB, free: 10.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.734e-05/0.7253, allocations: 111.9 kB / 0.6276 GB, free: 10.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7253, allocations: 0 / 0.6276 GB, free: 10.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003875/0.7292, allocations: 1.446 MB / 0.629 GB, free: 9.137 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.008523/0.7377, allocations: 2.947 MB / 0.6319 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006943/0.7384, allocations: 303 kB / 0.6322 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7384, allocations: 4 kB / 0.6322 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.7388, allocations: 224.8 kB / 0.6324 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.7394, allocations: 54.42 kB / 0.6325 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.7428, allocations: 1.303 MB / 0.6337 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.743, allocations: 182.2 kB / 0.6339 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.7432, allocations: 116.2 kB / 0.634 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.7433, allocations: 91.41 kB / 0.6341 GB, free: 4.012 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7433, allocations: 0 / 0.6341 GB, free: 4.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/0.8526, allocations: 55.53 MB / 0.6883 GB, free: 12.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.58, allocations: 7.922 kB / 0.6883 GB, free: 12.46 MB / 494.1 MB " [Timeout remaining time 644] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.13468063098844] Failed to read output from testmodel.py, exit status != 0: 15.7759697859874 15.791017025 15.626689765 Calling exit ...