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.001851/0.001851, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001708/0.001708, allocations: 215.7 kB / 22.25 MB, free: 5.082 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.503/1.503, allocations: 207.6 MB / 233 MB, free: 9.996 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.05284/0.05284, allocations: 9.165 MB / 294.4 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.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="me",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.002189/0.002189, allocations: 75.83 kB / 411.1 MB, free: 46.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07139/0.07358, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02134/0.09492, allocations: 17.62 MB / 479.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.09835, allocations: 2.434 MB / 481.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.09842, allocations: 0 / 481.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.09955, allocations: 435.3 kB / 482.3 MB, free: 8.156 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.007818/0.1074, allocations: 3.295 MB / 485.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.134e-05/0.1074, allocations: 11.98 kB / 485.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.1077, allocations: 187.1 kB / 485.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.1077, allocations: 9.734 kB / 485.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.108, allocations: 103.5 kB / 485.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1081, allocations: 55.72 kB / 486 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1081, allocations: 4 kB / 486 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.1191, allocations: 6.788 MB / 492.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.1192, allocations: 23.8 kB / 492.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1193, allocations: 59.67 kB / 492.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005722/0.125, allocations: 2.818 MB / 495.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.125, allocations: 0 / 495.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.125, allocations: 0 / 495.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.125, allocations: 0 / 495.7 MB, free: 10.78 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.001394/0.1264, allocations: 0.62 MB / 496.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1265, allocations: 11.98 kB / 496.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.1265, allocations: 38.56 kB / 496.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1267, allocations: 35.88 kB / 496.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1268, allocations: 140.9 kB / 496.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1268, allocations: 0 / 496.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1268, allocations: 0 / 496.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.1272, allocations: 170.5 kB / 496.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1272, allocations: 0 / 496.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1272, allocations: 0 / 496.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1272, allocations: 11.98 kB / 496.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.1276, allocations: 204 kB / 496.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.1279, allocations: 245.7 kB / 497.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1282, allocations: 150.8 kB / 497.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1285, allocations: 137.1 kB / 497.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01805/0.1465, allocations: 3.632 MB / 0.4893 GB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.1465, allocations: 34.56 kB / 0.4893 GB, free: 5.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 3.126e-06/0.1465, allocations: 0 / 0.4893 GB, free: 5.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009641/0.1475, allocations: 476.6 kB / 0.4898 GB, free: 4.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1476, allocations: 55.41 kB / 0.4898 GB, free: 4.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1477, allocations: 132.6 kB / 0.4899 GB, free: 4.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1477, allocations: 25.7 kB / 0.49 GB, free: 4.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.1478, allocations: 88.78 kB / 0.4901 GB, free: 4.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.1479, allocations: 111 kB / 0.4902 GB, free: 4.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.1479, allocations: 33.7 kB / 0.4902 GB, free: 4.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1481, allocations: 330.8 kB / 0.4905 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.1483, allocations: 123.9 kB / 0.4906 GB, free: 3.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1486, allocations: 124.8 kB / 0.4907 GB, free: 3.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.149, allocations: 319.9 kB / 0.4911 GB, free: 3.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.149, allocations: 0 / 0.4911 GB, free: 3.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005666/0.1496, allocations: 347.5 kB / 0.4914 GB, free: 3.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1496, allocations: 8 kB / 0.4914 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1496, allocations: 0 / 0.4914 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1497, allocations: 0 / 0.4914 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1498, allocations: 19.98 kB / 0.4914 GB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1498, allocations: 7.938 kB / 0.4914 GB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1499, allocations: 23.83 kB / 0.4914 GB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1499, allocations: 7.984 kB / 0.4914 GB, free: 2.984 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.0001322/0.1501, allocations: 113.8 kB / 0.4916 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1501, allocations: 11.91 kB / 0.4916 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007219/0.1508, allocations: 393 kB / 0.4919 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.1508, allocations: 7.984 kB / 0.492 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.1508, allocations: 7.938 kB / 0.492 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1509, allocations: 0 / 0.492 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.1512, allocations: 245.1 kB / 0.4922 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1512, allocations: 3.938 kB / 0.4922 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1513, allocations: 19.97 kB / 0.4922 GB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1513, allocations: 0 / 0.4922 GB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1513, allocations: 8 kB / 0.4922 GB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1513, allocations: 4 kB / 0.4922 GB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1513, allocations: 3.938 kB / 0.4922 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.152, allocations: 379 kB / 0.4926 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.152, allocations: 23.83 kB / 0.4926 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1521, allocations: 8 kB / 0.4926 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1522, allocations: 11.97 kB / 0.4926 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1522, allocations: 7.938 kB / 0.4926 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1522, allocations: 8 kB / 0.4927 GB, free: 1.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.1523, allocations: 99.25 kB / 0.4927 GB, free: 1.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1523, allocations: 0 / 0.4927 GB, free: 1.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001442/0.1537, allocations: 494.6 kB / 0.4932 GB, free: 1.09 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.003193/0.1569, allocations: 1.537 MB / 0.4947 GB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005999/0.1575, allocations: 267.9 kB / 0.495 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1575, allocations: 3.938 kB / 0.495 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.1578, allocations: 139.9 kB / 0.4951 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.0004834/0.1583, allocations: 82.84 kB / 0.4952 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.1617, allocations: 2.427 MB / 0.4976 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.162, allocations: 0.7162 MB / 0.4983 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.1621, allocations: 23.97 kB / 0.4983 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.1622, allocations: 43.42 kB / 0.4983 GB, free: 11.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1622, allocations: 0 / 0.4983 GB, free: 11.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06351/0.2257, allocations: 22.98 MB / 0.5208 GB, free: 4.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.39, allocations: 7.109 kB / 0.5208 GB, free: 4.758 MB / 398.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.639861427000142] Failed to read output from testmodel.py, exit status != 0: 12.513540543004638 12.727823082 12.600012055 Calling exit ...