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.001248/0.001248, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001403/0.001403, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.333/1.333, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.04938/0.04938, allocations: 9.157 MB / 295.2 MB, free: 12.69 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.002031/0.002031, allocations: 69.34 kB / 411.8 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07026/0.07229, allocations: 50.76 MB / 462.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01693/0.08922, allocations: 13.26 MB / 475.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02103/0.1103, allocations: 17.88 MB / 493.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1104, allocations: 0 / 493.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.1106, allocations: 51.7 kB / 493.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.1107, allocations: 67.41 kB / 493.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.1273, allocations: 6.725 MB / 0.4889 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.1276, allocations: 167 kB / 0.489 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.1277, allocations: 5.312 kB / 0.489 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1279, allocations: 67.72 kB / 0.4891 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.128, allocations: 67.72 kB / 0.4891 GB, free: 6.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.128, allocations: 4 kB / 0.4891 GB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.1483, allocations: 10.86 MB / 0.4998 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1483, allocations: 15.91 kB / 0.4998 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1485, allocations: 67.67 kB / 0.4998 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.1626, allocations: 6.073 MB / 0.5058 GB, free: 5.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1626, allocations: 4 kB / 0.5058 GB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1626, allocations: 0 / 0.5058 GB, free: 5.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1626, allocations: 4 kB / 0.5058 GB, free: 5.266 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.004316/0.167, allocations: 1.311 MB / 0.5071 GB, free: 3.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.167, allocations: 11.98 kB / 0.5071 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.167, allocations: 4.188 kB / 0.5071 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1671, allocations: 46.73 kB / 0.5071 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.1671, allocations: 16.84 kB / 0.5071 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1673, allocations: 126.3 kB / 0.5072 GB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1673, allocations: 16.12 kB / 0.5073 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1673, allocations: 12 kB / 0.5073 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.1682, allocations: 319.9 kB / 0.5076 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1682, allocations: 4 kB / 0.5076 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1683, allocations: 8 kB / 0.5076 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1683, allocations: 4 kB / 0.5076 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.1692, allocations: 307.6 kB / 0.5079 GB, free: 3.004 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.001042/0.1703, allocations: 1.027 MB / 0.5089 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.1712, allocations: 291.6 kB / 0.5092 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.1714, allocations: 78.52 kB / 0.5092 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6014/0.7727, allocations: 119.6 MB / 0.6261 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.7728, allocations: 36.06 kB / 0.6261 GB, free: 12.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.7728, allocations: 0 / 0.6261 GB, free: 12.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001978/0.7748, allocations: 496 kB / 0.6266 GB, free: 12.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.7748, allocations: 104.1 kB / 0.6267 GB, free: 12.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.775, allocations: 157.8 kB / 0.6268 GB, free: 11.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.775, allocations: 25.7 kB / 0.6268 GB, free: 11.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.7751, allocations: 123.9 kB / 0.627 GB, free: 11.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.7751, allocations: 43.39 kB / 0.627 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.7752, allocations: 41.66 kB / 0.627 GB, free: 11.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7753, allocations: 322.8 kB / 0.6273 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.7755, allocations: 51.95 kB / 0.6274 GB, free: 11.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.7758, allocations: 114.7 kB / 0.6275 GB, free: 11.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.7762, allocations: 181.9 kB / 0.6277 GB, free: 10.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/0.7763, allocations: 4 kB / 0.6277 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005584/0.7768, allocations: 201.2 kB / 0.6279 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7768, allocations: 8 kB / 0.6279 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7768, allocations: 3.938 kB / 0.6279 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.7769, allocations: 4 kB / 0.6279 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.7771, allocations: 48.19 kB / 0.6279 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.7771, allocations: 7.938 kB / 0.6279 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.7772, allocations: 30.03 kB / 0.628 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.7773, allocations: 7.938 kB / 0.628 GB, free: 10.68 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.0001148/0.7774, allocations: 125.8 kB / 0.6281 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.7775, allocations: 15.91 kB / 0.6281 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.7788, allocations: 1.189 MB / 0.6293 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.7788, allocations: 15.97 kB / 0.6293 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7788, allocations: 5.875 kB / 0.6293 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7788, allocations: 4 kB / 0.6293 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.7795, allocations: 0.569 MB / 0.6299 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.7795, allocations: 8 kB / 0.6299 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.7796, allocations: 27.97 kB / 0.6299 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7796, allocations: 7.844 kB / 0.6299 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.7797, allocations: 4 kB / 0.6299 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.7797, allocations: 4 kB / 0.6299 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7797, allocations: 3.938 kB / 0.6299 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7807, allocations: 0.8748 MB / 0.6308 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.7808, allocations: 55.56 kB / 0.6308 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.7808, allocations: 4 kB / 0.6308 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.781, allocations: 11.98 kB / 0.6308 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.7811, allocations: 27.91 kB / 0.6309 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.7811, allocations: 4.875 kB / 0.6309 GB, free: 7.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.336e-05/0.7812, allocations: 115.9 kB / 0.631 GB, free: 7.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7812, allocations: 4 kB / 0.631 GB, free: 7.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003908/0.7851, allocations: 1.446 MB / 0.6324 GB, free: 6.113 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.008494/0.7936, allocations: 2.939 MB / 0.6353 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008135/0.7944, allocations: 310.7 kB / 0.6356 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7944, allocations: 0 / 0.6356 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.7948, allocations: 228.8 kB / 0.6358 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.7955, allocations: 48.06 kB / 0.6358 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.799, allocations: 1.299 MB / 0.6371 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.7994, allocations: 0.7959 MB / 0.6379 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.7996, allocations: 117 kB / 0.638 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.7997, allocations: 91.41 kB / 0.6381 GB, free: 384 kB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7997, allocations: 0 / 0.6381 GB, free: 384 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09902/0.8988, allocations: 55.62 MB / 0.6924 GB, free: 8.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.57, allocations: 4.062 kB / 0.6924 GB, free: 8.723 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.08991401991807] Failed to read output from testmodel.py, exit status != 0: 15.768867820035666 15.786228946 15.620263496 Calling exit ...