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.001396/0.001396, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001451/0.001451, allocations: 212 kB / 19.43 MB, free: 3.637 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.417/1.417, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.05235/0.05235, allocations: 9.152 MB / 290.8 MB, free: 13.91 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.002117/0.002117, allocations: 71.89 kB / 405.9 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07421/0.07633, allocations: 50.73 MB / 456.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.0219/0.09823, allocations: 17.58 MB / 474.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1014, allocations: 2.434 MB / 476.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.1015, allocations: 0 / 476.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.1024, allocations: 431.3 kB / 477 MB, free: 9.719 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.007377/0.1098, allocations: 3.236 MB / 480.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.596e-05/0.1098, allocations: 11.98 kB / 480.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1101, allocations: 191 kB / 480.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.1101, allocations: 5.562 kB / 480.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.1103, allocations: 103.6 kB / 480.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1104, allocations: 59.66 kB / 480.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1105, allocations: 4 kB / 480.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.1209, allocations: 6.472 MB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.1209, allocations: 19.86 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.121, allocations: 51.69 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006962/0.128, allocations: 2.806 MB / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.128, allocations: 0 / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.128, allocations: 0 / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.128, allocations: 4 kB / 490 MB, free: 12.73 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.00159/0.1296, allocations: 0.6876 MB / 490.7 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1297, allocations: 8.031 kB / 490.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.1297, allocations: 46.55 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1299, allocations: 31.89 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1301, allocations: 194.8 kB / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1301, allocations: 3.984 kB / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1301, allocations: 8 kB / 491 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1305, allocations: 163.2 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1305, allocations: 0 / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1305, allocations: 0 / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1306, allocations: 4 kB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.131, allocations: 196.1 kB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.1314, allocations: 278.5 kB / 491.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1317, allocations: 134.8 kB / 491.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.132, allocations: 133.1 kB / 491.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02212/0.1541, allocations: 10.93 MB / 0.491 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1541, allocations: 46.44 kB / 0.491 GB, free: 13.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.1541, allocations: 0 / 0.491 GB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009469/0.1551, allocations: 456.4 kB / 0.4915 GB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.1552, allocations: 55.39 kB / 0.4915 GB, free: 13.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1553, allocations: 131.7 kB / 0.4916 GB, free: 13.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1553, allocations: 29.7 kB / 0.4917 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.1554, allocations: 92.78 kB / 0.4918 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1555, allocations: 119 kB / 0.4919 GB, free: 13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.1555, allocations: 29.7 kB / 0.4919 GB, free: 12.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1557, allocations: 322.8 kB / 0.4922 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.1559, allocations: 119.9 kB / 0.4923 GB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.1561, allocations: 115.9 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.1567, allocations: 307.5 kB / 0.4927 GB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1567, allocations: 0 / 0.4927 GB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005911/0.1573, allocations: 331.3 kB / 0.493 GB, free: 11.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1573, allocations: 8 kB / 0.4931 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1573, allocations: 0 / 0.4931 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1573, allocations: 4 kB / 0.4931 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1574, allocations: 15.98 kB / 0.4931 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1574, allocations: 3.938 kB / 0.4931 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1575, allocations: 27.83 kB / 0.4931 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1576, allocations: 3.984 kB / 0.4931 GB, free: 11.72 MB / 382.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.0001127/0.1577, allocations: 121.8 kB / 0.4932 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.1577, allocations: 15.91 kB / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.1584, allocations: 360.9 kB / 0.4936 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.1584, allocations: 7.984 kB / 0.4936 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1584, allocations: 3.938 kB / 0.4936 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1584, allocations: 0 / 0.4936 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1586, allocations: 273.9 kB / 0.4939 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1586, allocations: 3.938 kB / 0.4939 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1588, allocations: 23.97 kB / 0.4939 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1588, allocations: 0 / 0.4939 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1588, allocations: 4 kB / 0.4939 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1588, allocations: 3.938 kB / 0.4939 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1588, allocations: 3.938 kB / 0.4939 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.1594, allocations: 370.6 kB / 0.4942 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.1595, allocations: 100.9 kB / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1595, allocations: 3.938 kB / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1596, allocations: 19.97 kB / 0.4944 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1597, allocations: 15.92 kB / 0.4944 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1597, allocations: 0 / 0.4944 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.476e-05/0.1597, allocations: 109.9 kB / 0.4945 GB, free: 10.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1597, allocations: 0 / 0.4945 GB, free: 10.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001327/0.1611, allocations: 494.6 kB / 0.495 GB, free: 9.715 MB / 382.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.003066/0.1641, allocations: 1.515 MB / 0.4964 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.1647, allocations: 267.7 kB / 0.4967 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1647, allocations: 0 / 0.4967 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.165, allocations: 127.9 kB / 0.4968 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.1655, allocations: 74.2 kB / 0.4969 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.1688, allocations: 2.394 MB / 0.4992 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1692, allocations: 0.7123 MB / 0.4999 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.567e-05/0.1693, allocations: 35.89 kB / 0.5 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.1693, allocations: 31.44 kB / 0.5 GB, free: 4.438 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1693, allocations: 0 / 0.5 GB, free: 4.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0582/0.2275, allocations: 22.69 MB / 0.5221 GB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/9.274, allocations: 11.44 kB / 0.5222 GB, free: 13.77 MB / 414.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.823874511290342] Failed to read output from testmodel.py, exit status != 0: 9.358409530017525 9.375400253 9.243952304 Calling exit ...