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.00125/0.00125, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.001429/0.001429, allocations: 211.3 kB / 22.24 MB, free: 4.867 MB / 14.72 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 1.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.04919/0.04919, allocations: 9.145 MB / 321.6 MB, free: 10.21 MB / 254.1 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_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 446.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 54.94 MB / 0.4897 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01668/0.1254, allocations: 12.15 MB / 0.5016 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2317/0.357, allocations: 15.62 MB / 0.5168 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3572, allocations: 3.25 kB / 0.5168 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.3574, allocations: 43.41 kB / 0.5169 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3575, allocations: 67.27 kB / 0.5169 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01668/0.3742, allocations: 6.727 MB / 0.5235 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.3744, allocations: 166.6 kB / 0.5237 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.3745, allocations: 7.188 kB / 0.5237 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3747, allocations: 67.05 kB / 0.5237 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3748, allocations: 64.55 kB / 0.5238 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3748, allocations: 4.844 kB / 0.5238 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/0.3937, allocations: 10.33 MB / 0.5339 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.3937, allocations: 13.19 kB / 0.5339 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.3939, allocations: 55.92 kB / 0.5339 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.407, allocations: 6.08 MB / 0.5399 GB, free: 3.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.407, allocations: 0 / 0.5399 GB, free: 3.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.407, allocations: 0 / 0.5399 GB, free: 3.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.407, allocations: 0 / 0.5399 GB, free: 3.328 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.004772/0.4117, allocations: 1.318 MB / 0.5412 GB, free: 2.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4118, allocations: 9.969 kB / 0.5412 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.4118, allocations: 41.3 kB / 0.5412 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.412, allocations: 23.59 kB / 0.5412 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.4121, allocations: 172.1 kB / 0.5414 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4122, allocations: 8.562 kB / 0.5414 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4122, allocations: 14.5 kB / 0.5414 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.413, allocations: 327 kB / 0.5417 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.413, allocations: 0.9688 kB / 0.5417 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.413, allocations: 5.125 kB / 0.5417 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.413, allocations: 2.656 kB / 0.5417 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.4139, allocations: 305.9 kB / 0.542 GB, free: 1.855 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.0006413/0.4146, allocations: 0.8233 MB / 0.5428 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/0.4153, allocations: 294.5 kB / 0.5431 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.4155, allocations: 80.73 kB / 0.5432 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4453/0.8609, allocations: 122.7 MB / 0.663 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.8609, allocations: 34.5 kB / 0.6631 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.535e-06/0.8609, allocations: 0 / 0.6631 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.001994/0.8629, allocations: 497 kB / 0.6635 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.863, allocations: 106.8 kB / 0.6636 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.8631, allocations: 154.8 kB / 0.6638 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.8632, allocations: 25.7 kB / 0.6638 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.8632, allocations: 116.2 kB / 0.6639 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.8633, allocations: 46.45 kB / 0.664 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.8634, allocations: 45.56 kB / 0.664 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8635, allocations: 322.8 kB / 0.6643 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.8637, allocations: 51.95 kB / 0.6644 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.8639, allocations: 108.8 kB / 0.6645 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.8644, allocations: 187 kB / 0.6646 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.8644, allocations: 4 kB / 0.6646 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005564/0.865, allocations: 209.2 kB / 0.6648 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.865, allocations: 8 kB / 0.6649 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.865, allocations: 3.938 kB / 0.6649 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.865, allocations: 4.219 kB / 0.6649 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.8652, allocations: 49.03 kB / 0.6649 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.8652, allocations: 7.984 kB / 0.6649 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.8654, allocations: 35.8 kB / 0.6649 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.8654, allocations: 4 kB / 0.665 GB, free: 8.582 MB / 0.4981 GB 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.0001165/0.8655, allocations: 121.8 kB / 0.6651 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.8656, allocations: 11.95 kB / 0.6651 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.867, allocations: 1.197 MB / 0.6662 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.867, allocations: 19.97 kB / 0.6663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.867, allocations: 0 / 0.6663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.867, allocations: 4.5 kB / 0.6663 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.8677, allocations: 0.5533 MB / 0.6668 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.8677, allocations: 7.625 kB / 0.6668 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.8679, allocations: 31.97 kB / 0.6668 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8679, allocations: 4 kB / 0.6669 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.8679, allocations: 7.938 kB / 0.6669 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.8679, allocations: 4 kB / 0.6669 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8679, allocations: 0 / 0.6669 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.8689, allocations: 0.8715 MB / 0.6677 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.869, allocations: 63.48 kB / 0.6678 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.869, allocations: 7.938 kB / 0.6678 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.8692, allocations: 15.98 kB / 0.6678 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.8693, allocations: 15.97 kB / 0.6678 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.8693, allocations: 8 kB / 0.6678 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.505e-05/0.8694, allocations: 115.3 kB / 0.6679 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.8694, allocations: 0 / 0.6679 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004931/0.8743, allocations: 1.45 MB / 0.6693 GB, free: 4.012 MB / 0.4981 GB 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.009725/0.8841, allocations: 2.96 MB / 0.6722 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007448/0.8848, allocations: 315 kB / 0.6725 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8848, allocations: 8.219 kB / 0.6725 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.8852, allocations: 217.5 kB / 0.6728 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.8858, allocations: 48.14 kB / 0.6728 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.8924, allocations: 3.024 MB / 0.6758 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.8926, allocations: 186.2 kB / 0.6759 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.8928, allocations: 112.4 kB / 0.676 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.893, allocations: 91.39 kB / 0.6761 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of SimCode: time 1.463e-06/0.893, allocations: 0 / 0.6761 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2989/1.192, allocations: 55.8 MB / 0.7306 GB, free: 162 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.39, allocations: 8.594 kB / 0.7306 GB, free: 162 MB / 0.545 GB " [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 sys.exit(0), Time elapsed: 18.133797774091363] Failed to read output from testmodel.py, exit status != 0: 15.537348066922277 15.560038543 15.14891637 Calling exit ...