Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.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.001204/0.001204, 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.001321/0.001321, allocations: 218.3 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.311/1.311, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.04912/0.04912, allocations: 9.148 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.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",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.002067/0.002067, allocations: 63.52 kB / 411.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0717/0.07376, allocations: 50.76 MB / 462.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02003/0.09379, allocations: 17.64 MB / 480.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.09674, allocations: 2.426 MB / 482.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.09679, allocations: 0 / 482.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009128/0.0977, allocations: 435.3 kB / 483.1 MB, free: 8.168 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.006655/0.1044, allocations: 3.302 MB / 486.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.188e-05/0.1044, allocations: 7.984 kB / 486.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1046, allocations: 198.9 kB / 486.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.1047, allocations: 5.75 kB / 486.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1048, allocations: 99.56 kB / 486.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.784e-05/0.1049, allocations: 55.66 kB / 486.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.105, allocations: 4 kB / 486.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009521/0.1145, allocations: 6.796 MB / 493.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.1145, allocations: 19.88 kB / 493.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.1146, allocations: 55.67 kB / 493.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.119, allocations: 2.818 MB / 496.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.119, allocations: 0 / 496.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.119, allocations: 0 / 496.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.119, allocations: 0 / 496.4 MB, free: 10.79 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001299/0.1203, allocations: 0.6123 MB / 497.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1204, allocations: 11.98 kB / 497.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.711e-05/0.1204, allocations: 4 kB / 497.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.1204, allocations: 46.55 kB / 497.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1205, allocations: 35.89 kB / 497.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1207, allocations: 136.9 kB / 497.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1207, allocations: 0 / 497.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1207, allocations: 8 kB / 497.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.121, allocations: 162.4 kB / 497.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.121, allocations: 4 kB / 497.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1211, allocations: 4 kB / 497.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1211, allocations: 3.984 kB / 497.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.1215, allocations: 196.2 kB / 497.7 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.1218, allocations: 253.6 kB / 497.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1221, allocations: 150.8 kB / 498 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.1223, allocations: 137.1 kB / 498.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01631/0.1386, allocations: 3.636 MB / 0.4901 GB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.1387, allocations: 30.56 kB / 0.4901 GB, free: 5.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.1387, allocations: 3.938 kB / 0.4901 GB, free: 5.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009196/0.1396, allocations: 472.7 kB / 0.4905 GB, free: 4.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1396, allocations: 55.34 kB / 0.4906 GB, free: 4.703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1397, allocations: 134 kB / 0.4907 GB, free: 4.566 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1398, allocations: 25.7 kB / 0.4907 GB, free: 4.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.1398, allocations: 92.8 kB / 0.4908 GB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.1399, allocations: 107 kB / 0.4909 GB, free: 4.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.14, allocations: 33.7 kB / 0.491 GB, free: 4.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1401, allocations: 330.8 kB / 0.4913 GB, free: 3.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.1403, allocations: 127.9 kB / 0.4914 GB, free: 3.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.1406, allocations: 124.8 kB / 0.4915 GB, free: 3.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.141, allocations: 315.8 kB / 0.4918 GB, free: 3.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.141, allocations: 4 kB / 0.4918 GB, free: 3.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005691/0.1416, allocations: 351.6 kB / 0.4922 GB, free: 3.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1416, allocations: 4 kB / 0.4922 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1416, allocations: 0 / 0.4922 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1416, allocations: 0 / 0.4922 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1418, allocations: 19.98 kB / 0.4922 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1418, allocations: 3.938 kB / 0.4922 GB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1419, allocations: 31.81 kB / 0.4922 GB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1419, allocations: 0 / 0.4922 GB, free: 2.992 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001058/0.142, allocations: 121.8 kB / 0.4923 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.142, allocations: 11.91 kB / 0.4924 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.1427, allocations: 385.1 kB / 0.4927 GB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.1427, allocations: 7.984 kB / 0.4927 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1427, allocations: 3.938 kB / 0.4927 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1427, allocations: 0 / 0.4927 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1429, allocations: 241.1 kB / 0.493 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1429, allocations: 3.984 kB / 0.493 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.143, allocations: 23.98 kB / 0.493 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.143, allocations: 3.938 kB / 0.493 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1431, allocations: 0 / 0.493 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1431, allocations: 0 / 0.493 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.1431, allocations: 15.88 kB / 0.493 GB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.1436, allocations: 375 kB / 0.4934 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.1437, allocations: 27.83 kB / 0.4934 GB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1437, allocations: 3.984 kB / 0.4934 GB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1438, allocations: 15.98 kB / 0.4934 GB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.1439, allocations: 15.92 kB / 0.4934 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1439, allocations: 0 / 0.4934 GB, free: 1.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.1439, allocations: 95.27 kB / 0.4935 GB, free: 1.586 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1439, allocations: 0 / 0.4935 GB, free: 1.586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001273/0.1452, allocations: 498.6 kB / 0.494 GB, free: 1.098 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.002893/0.1481, allocations: 1.545 MB / 0.4955 GB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.1487, allocations: 275.9 kB / 0.4958 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1487, allocations: 0 / 0.4958 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.1489, allocations: 135.9 kB / 0.4959 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.1494, allocations: 66.45 kB / 0.496 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.1525, allocations: 2.435 MB / 0.4983 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1529, allocations: 0.7162 MB / 0.499 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.102e-05/0.1529, allocations: 23.97 kB / 0.4991 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.153, allocations: 43.36 kB / 0.4991 GB, free: 11.74 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.153, allocations: 96 / 0.4991 GB, free: 11.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06602/0.219, allocations: 23 MB / 0.5216 GB, free: 4.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.54, allocations: 7.656 kB / 0.5216 GB, free: 4.742 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.073299720999785] Failed to read output from testmodel.py, exit status != 0: 11.706551103969105 11.857954105 11.73649212 Calling exit ...