Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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.001302/0.001302, 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.001586/0.001586, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.338/1.338, 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.09304/0.09304, allocations: 9.159 MB / 295.2 MB, free: 12.7 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.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",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.002048/0.002048, allocations: 70.64 kB / 411.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07033/0.07238, allocations: 50.75 MB / 462.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02072/0.0931, allocations: 18.33 MB / 480.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.09781, allocations: 4.914 MB / 485.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.09789, allocations: 0 / 485.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000833/0.09872, allocations: 366.3 kB / 486.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.1003, allocations: 0.7397 MB / 487 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.1043, allocations: 1.913 MB / 488.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.1045, allocations: 179 kB / 489 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.1046, allocations: 13.3 kB / 489.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.1048, allocations: 91.52 kB / 489.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.1e-05/0.1049, allocations: 55.72 kB / 489.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1049, allocations: 4 kB / 489.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005287/0.1102, allocations: 3.614 MB / 492.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1102, allocations: 23.84 kB / 492.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.1103, allocations: 51.73 kB / 492.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.113, allocations: 1.477 MB / 494.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.113, allocations: 0 / 494.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.113, allocations: 0 / 494.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.113, allocations: 4 kB / 494.4 MB, free: 12.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001017/0.114, allocations: 0.5427 MB / 494.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.114, allocations: 11.98 kB / 494.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.716e-05/0.114, allocations: 4 kB / 494.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.1141, allocations: 46.55 kB / 495 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1141, allocations: 15.84 kB / 495 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1142, allocations: 121 kB / 495.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1143, allocations: 8 kB / 495.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1143, allocations: 4 kB / 495.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.1146, allocations: 209.5 kB / 495.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1146, allocations: 4 kB / 495.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1146, allocations: 0 / 495.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1146, allocations: 4 kB / 495.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.115, allocations: 287.8 kB / 495.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.1157, allocations: 0.4944 MB / 496.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.116, allocations: 210.6 kB / 496.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1162, allocations: 160.8 kB / 496.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00333/0.1195, allocations: 0.802 MB / 497.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1196, allocations: 38.5 kB / 497.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1196, allocations: 0 / 497.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008783/0.1204, allocations: 0.5953 MB / 497.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1205, allocations: 55.41 kB / 498 MB, free: 9.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.1206, allocations: 101.8 kB / 498.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1206, allocations: 33.64 kB / 498.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.1206, allocations: 84.8 kB / 498.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.78e-05/0.1207, allocations: 118.9 kB / 498.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.1208, allocations: 37.7 kB / 498.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1209, allocations: 330.8 kB / 498.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.1211, allocations: 151.9 kB / 498.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.1213, allocations: 156.8 kB / 498.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.1217, allocations: 338.2 kB / 499.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1217, allocations: 0 / 499.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005207/0.1222, allocations: 390.6 kB / 499.7 MB, free: 7.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1223, allocations: 6.344 kB / 499.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1223, allocations: 0 / 499.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1223, allocations: 0 / 499.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1224, allocations: 31.91 kB / 499.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1224, allocations: 4 kB / 499.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.1225, allocations: 11.89 kB / 499.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1225, allocations: 11.98 kB / 499.7 MB, free: 7.281 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.12e-05/0.1226, allocations: 117.8 kB / 499.8 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.1226, allocations: 15.84 kB / 499.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000632/0.1233, allocations: 439.8 kB / 0.4886 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.1233, allocations: 8 kB / 0.4886 GB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1233, allocations: 3.984 kB / 0.4886 GB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1233, allocations: 0 / 0.4886 GB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.1236, allocations: 265.8 kB / 0.4888 GB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1236, allocations: 4 kB / 0.4888 GB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1237, allocations: 31.91 kB / 0.4889 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1237, allocations: 0 / 0.4889 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1237, allocations: 4 kB / 0.4889 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1237, allocations: 4.25 kB / 0.4889 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1237, allocations: 4 kB / 0.4889 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.1243, allocations: 492.4 kB / 0.4893 GB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.1243, allocations: 43.69 kB / 0.4894 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1243, allocations: 0 / 0.4894 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.1244, allocations: 11.98 kB / 0.4894 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1245, allocations: 7.984 kB / 0.4894 GB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1245, allocations: 4 kB / 0.4894 GB, free: 5.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.1245, allocations: 91.2 kB / 0.4895 GB, free: 5.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1245, allocations: 0 / 0.4895 GB, free: 5.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009616/0.1255, allocations: 422.6 kB / 0.4899 GB, free: 5.281 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002175/0.1277, allocations: 1.568 MB / 0.4914 GB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.1282, allocations: 339.7 kB / 0.4918 GB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1282, allocations: 0 / 0.4918 GB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.1284, allocations: 175.9 kB / 0.4919 GB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.129, allocations: 63.86 kB / 0.492 GB, free: 3.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.1299, allocations: 0.5765 MB / 0.4925 GB, free: 2.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1302, allocations: 0.7204 MB / 0.4932 GB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.256e-05/0.1303, allocations: 16.3 kB / 0.4933 GB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1304, allocations: 39.42 kB / 0.4933 GB, free: 1.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1304, allocations: 0 / 0.4933 GB, free: 1.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.167, allocations: 13.81 MB / 0.5068 GB, free: 3.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.39, allocations: 11.2 kB / 0.5068 GB, free: 3.906 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation_fmu --startTime=0 --stopTime=7 --stepSize=0.0028 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.940247901016846] Failed to read output from testmodel.py, exit status != 0: 11.560684073949233 11.587372996 11.469639901 Calling exit ...