Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.001458/0.001458, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001631/0.001631, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.294/1.294, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] 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.04904/0.04904, allocations: 9.147 MB / 295.2 MB, free: 12.71 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.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",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.002017/0.002017, allocations: 71.45 kB / 411.9 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06317/0.06518, allocations: 50.76 MB / 462.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01475/0.07994, allocations: 12.94 MB / 475.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00972/0.08966, allocations: 8.63 MB / 484.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.08974, allocations: 0 / 484.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.08991, allocations: 47.72 kB / 484.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.09421, allocations: 1.88 MB / 486.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005735/0.09994, allocations: 2.281 MB / 488.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1001, allocations: 135.1 kB / 488.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.1002, allocations: 0 / 488.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.1002, allocations: 43.86 kB / 488.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.1003, allocations: 51.72 kB / 488.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1003, allocations: 4 kB / 488.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.1123, allocations: 6.942 MB / 495.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.1124, allocations: 11.92 kB / 495.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.1125, allocations: 51.73 kB / 495.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007586/0.1201, allocations: 3.777 MB / 499.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1201, allocations: 0 / 499.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1201, allocations: 0 / 499.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1201, allocations: 0 / 499.4 MB, free: 7.828 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002306/0.1224, allocations: 0.8302 MB / 0.4885 GB, free: 6.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1224, allocations: 11.98 kB / 0.4885 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.663e-05/0.1224, allocations: 4.375 kB / 0.4885 GB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.1225, allocations: 42.75 kB / 0.4886 GB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.1228, allocations: 48.8 kB / 0.4886 GB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.123, allocations: 142.4 kB / 0.4888 GB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.123, allocations: 11.94 kB / 0.4888 GB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.123, allocations: 11.95 kB / 0.4888 GB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/0.1239, allocations: 267.1 kB / 0.489 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1239, allocations: 0 / 0.489 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1239, allocations: 4 kB / 0.4891 GB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1239, allocations: 4 kB / 0.4891 GB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.1247, allocations: 211.7 kB / 0.4893 GB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.1254, allocations: 0.6419 MB / 0.4899 GB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.1263, allocations: 233 kB / 0.4901 GB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.1264, allocations: 57.67 kB / 0.4902 GB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1137/0.2401, allocations: 33.5 MB / 0.5229 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.2401, allocations: 38.48 kB / 0.5229 GB, free: 3.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.2401, allocations: 0 / 0.5229 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.00165/0.2418, allocations: 361.8 kB / 0.5233 GB, free: 3.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.2418, allocations: 85.09 kB / 0.5233 GB, free: 3.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.242, allocations: 126.1 kB / 0.5235 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.242, allocations: 33.7 kB / 0.5235 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.2421, allocations: 100.1 kB / 0.5236 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.2421, allocations: 55.53 kB / 0.5236 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2422, allocations: 65.56 kB / 0.5237 GB, free: 2.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2424, allocations: 322.8 kB / 0.524 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2425, allocations: 55.97 kB / 0.5241 GB, free: 2.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.2427, allocations: 89.8 kB / 0.5241 GB, free: 2.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.243, allocations: 147.4 kB / 0.5243 GB, free: 2.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.243, allocations: 3.984 kB / 0.5243 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005107/0.2435, allocations: 217.4 kB / 0.5245 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2435, allocations: 4 kB / 0.5245 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2435, allocations: 4 kB / 0.5245 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2436, allocations: 0 / 0.5245 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2438, allocations: 59.89 kB / 0.5246 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2438, allocations: 4.062 kB / 0.5246 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2439, allocations: 15.89 kB / 0.5246 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.2439, allocations: 19.97 kB / 0.5246 GB, free: 1.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.2441, allocations: 121.8 kB / 0.5247 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.2442, allocations: 11.89 kB / 0.5247 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1627/0.4068, allocations: 2.237 MB / 0.5269 GB, free: 71.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.4069, allocations: 9.359 kB / 0.5269 GB, free: 71.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4069, allocations: 5.453 kB / 0.5269 GB, free: 71.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4069, allocations: 0.5625 kB / 0.5269 GB, free: 71.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.4077, allocations: 1.066 MB / 0.528 GB, free: 71.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4077, allocations: 1.062 kB / 0.528 GB, free: 71.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.408, allocations: 38.27 kB / 0.528 GB, free: 71.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.408, allocations: 1.594 kB / 0.528 GB, free: 71.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.408, allocations: 5.922 kB / 0.528 GB, free: 71.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.408, allocations: 3.625 kB / 0.528 GB, free: 71.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.408, allocations: 0 / 0.528 GB, free: 71.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.4086, allocations: 0.66 MB / 0.5287 GB, free: 70.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.4086, allocations: 31.7 kB / 0.5287 GB, free: 70.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.4086, allocations: 4.344 kB / 0.5287 GB, free: 70.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4088, allocations: 8.328 kB / 0.5287 GB, free: 70.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.4088, allocations: 8.531 kB / 0.5287 GB, free: 70.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4088, allocations: 9.797 kB / 0.5287 GB, free: 70.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.4089, allocations: 96.42 kB / 0.5288 GB, free: 70.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4089, allocations: 0 / 0.5288 GB, free: 70.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00211/0.411, allocations: 0.9181 MB / 0.5297 GB, free: 70.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004057/0.415, allocations: 2.188 MB / 0.5318 GB, free: 69.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.4155, allocations: 212.4 kB / 0.532 GB, free: 69.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4155, allocations: 0 / 0.532 GB, free: 69.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4156, allocations: 131.5 kB / 0.5322 GB, free: 69.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.4162, allocations: 68.83 kB / 0.5322 GB, free: 69.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.4193, allocations: 2.62 MB / 0.5348 GB, free: 67.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.4194, allocations: 0.7314 MB / 0.5355 GB, free: 67.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.4199, allocations: 380.1 kB / 0.5359 GB, free: 67.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.42, allocations: 73.95 kB / 0.5359 GB, free: 66.96 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.42, allocations: 0 / 0.5359 GB, free: 66.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.4783, allocations: 36.77 MB / 0.5719 GB, free: 37.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.93, allocations: 112 / 0.5719 GB, free: 37.66 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.481362789985724] Failed to read output from testmodel.py, exit status != 0: 13.106677724979818 13.118166891 12.995531084 Calling exit ...