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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 106.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.461/1.461, 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.0517/0.0517, allocations: 9.149 MB / 290.8 MB, free: 13.92 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.38 kB / 405.8 MB, free: 47.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07444/0.07657, allocations: 50.72 MB / 456.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02307/0.09963, allocations: 17.58 MB / 474.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.1029, allocations: 2.434 MB / 476.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.103, allocations: 0 / 476.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.104, allocations: 427.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.007746/0.1118, allocations: 3.236 MB / 480.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.364e-05/0.1118, allocations: 7.984 kB / 480.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1121, allocations: 206.9 kB / 480.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.1122, allocations: 5.562 kB / 480.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.1124, allocations: 87.58 kB / 480.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1125, allocations: 67.64 kB / 480.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1125, allocations: 4 kB / 480.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/0.1232, allocations: 6.472 MB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.1232, allocations: 15.86 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1233, allocations: 63.67 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00652/0.1298, allocations: 2.802 MB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1298, allocations: 0 / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1299, allocations: 0 / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1299, allocations: 0 / 489.9 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.001553/0.1314, allocations: 0.6876 MB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1315, allocations: 12.03 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.1315, allocations: 42.55 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.1317, allocations: 31.88 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1318, allocations: 190.8 kB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1318, allocations: 4 kB / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1319, allocations: 0 / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.1322, allocations: 166.4 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1322, allocations: 8 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1322, allocations: 4 kB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1322, allocations: 0 / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.1327, allocations: 192.2 kB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.133, allocations: 282.4 kB / 491.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1333, allocations: 146.8 kB / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.1335, allocations: 125.9 kB / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02328/0.1568, allocations: 10.93 MB / 0.4909 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.1568, allocations: 38.5 kB / 0.491 GB, free: 13.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 3.497e-06/0.1568, allocations: 3.938 kB / 0.491 GB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009709/0.1578, allocations: 456.4 kB / 0.4914 GB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.1579, allocations: 59.41 kB / 0.4915 GB, free: 13.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.158, allocations: 135.7 kB / 0.4916 GB, free: 13.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.158, allocations: 25.7 kB / 0.4916 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.1581, allocations: 88.73 kB / 0.4917 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1582, allocations: 115 kB / 0.4918 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.1583, allocations: 33.7 kB / 0.4919 GB, free: 12.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1584, allocations: 326.8 kB / 0.4922 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1587, allocations: 123.9 kB / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.1589, allocations: 115.9 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.1594, allocations: 303.5 kB / 0.4927 GB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1594, allocations: 0 / 0.4927 GB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006012/0.16, allocations: 331.3 kB / 0.493 GB, free: 11.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.16, allocations: 8 kB / 0.493 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.16, allocations: 0 / 0.493 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.16, allocations: 0 / 0.493 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1602, allocations: 19.98 kB / 0.493 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1602, allocations: 3.938 kB / 0.493 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1603, allocations: 31.81 kB / 0.4931 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1603, allocations: 4 kB / 0.4931 GB, free: 11.71 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.1604, allocations: 117.8 kB / 0.4932 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1605, allocations: 11.91 kB / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.1611, allocations: 364.9 kB / 0.4935 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1611, allocations: 7.984 kB / 0.4935 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1611, allocations: 3.938 kB / 0.4935 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1611, allocations: 4 kB / 0.4936 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.1614, allocations: 266 kB / 0.4938 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1614, allocations: 0 / 0.4938 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1615, allocations: 19.97 kB / 0.4938 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1615, allocations: 0 / 0.4938 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1615, allocations: 7.938 kB / 0.4938 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1615, allocations: 4 kB / 0.4938 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.1615, allocations: 11.88 kB / 0.4938 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.1621, allocations: 366.6 kB / 0.4942 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/0.1622, allocations: 100.9 kB / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1623, allocations: 7.984 kB / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1624, allocations: 23.98 kB / 0.4943 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1624, allocations: 7.938 kB / 0.4943 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1624, allocations: 7.984 kB / 0.4943 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.321e-05/0.1625, allocations: 95.27 kB / 0.4944 GB, free: 10.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1625, allocations: 0 / 0.4944 GB, free: 10.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001522/0.164, allocations: 0.4907 MB / 0.4949 GB, free: 9.711 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.003189/0.1672, allocations: 1.518 MB / 0.4964 GB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006038/0.1678, allocations: 267.8 kB / 0.4966 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1678, allocations: 0 / 0.4966 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.1681, allocations: 131.9 kB / 0.4968 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.1685, allocations: 74.12 kB / 0.4968 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.1721, allocations: 2.384 MB / 0.4992 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.1726, allocations: 0.7162 MB / 0.4999 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1727, allocations: 27.95 kB / 0.4999 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.1728, allocations: 43.36 kB / 0.4999 GB, free: 4.43 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1728, allocations: 0 / 0.4999 GB, free: 4.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08637/0.2592, allocations: 22.68 MB / 0.5221 GB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/9.252, allocations: 7.938 kB / 0.5221 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 & /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: 11.752743998076767] Failed to read output from testmodel.py, exit status != 0: 9.33350004022941 9.348150119 9.215346948 Calling exit ...