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.001872/0.001872, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001906/0.001906, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05732/0.05732, allocations: 7.506 MB / 267.1 MB, free: 6.047 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.886e-05, allocations: 4.984 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01826/0.01829, allocations: 17.57 MB / 355.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.02204, allocations: 2.395 MB / 357.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.02209, allocations: 0 / 357.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.02309, allocations: 347.6 kB / 358.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.03139, allocations: 3.255 MB / 361.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.211e-05/0.03143, allocations: 11.98 kB / 361.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.03173, allocations: 202.8 kB / 361.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.03177, allocations: 5.812 kB / 361.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.03206, allocations: 135.5 kB / 361.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.03218, allocations: 47.84 kB / 361.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.0322, allocations: 4 kB / 361.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008056/0.04025, allocations: 4.385 MB / 366.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.04029, allocations: 15.92 kB / 366.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.04039, allocations: 39.88 kB / 366.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00545/0.04584, allocations: 2.603 MB / 368.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.04584, allocations: 3.938 kB / 368.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.04584, allocations: 0 / 368.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.04585, allocations: 0 / 368.9 MB, free: 12.25 MB / 298.7 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.001519/0.04737, allocations: 0.7041 MB / 369.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.04741, allocations: 8.625 kB / 369.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.04803, allocations: 39.83 kB / 369.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.04821, allocations: 131.8 kB / 369.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.04823, allocations: 4 kB / 369.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.04825, allocations: 7.938 kB / 369.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.04851, allocations: 95.64 kB / 369.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.04852, allocations: 0 / 369.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.04853, allocations: 0 / 369.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.04854, allocations: 12 kB / 369.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.04881, allocations: 92.23 kB / 370 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.0491, allocations: 177.7 kB / 370.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.04933, allocations: 95.27 kB / 370.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.0495, allocations: 71.88 kB / 370.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/0.06859, allocations: 3.512 MB / 373.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/0.06865, allocations: 41.39 kB / 373.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.976e-06/0.06865, allocations: 0 / 373.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007848/0.06944, allocations: 285.6 kB / 374.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.06949, allocations: 51.41 kB / 374.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.06969, allocations: 200.8 kB / 374.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.06972, allocations: 29.7 kB / 374.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.06982, allocations: 131.5 kB / 374.6 MB, free: 6.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.06998, allocations: 119 kB / 374.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.07006, allocations: 43.31 kB / 374.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002978/0.07036, allocations: 0.5078 MB / 375.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.0705, allocations: 51.98 kB / 375.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.07063, allocations: 55.98 kB / 375.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.07097, allocations: 174.8 kB / 375.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.07097, allocations: 0 / 375.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004191/0.07139, allocations: 227.6 kB / 375.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.07141, allocations: 4 kB / 375.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.07142, allocations: 0 / 375.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.07144, allocations: 0 / 375.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.07154, allocations: 19.98 kB / 375.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.07155, allocations: 0 / 375.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.07164, allocations: 15.83 kB / 375.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.07166, allocations: 11.98 kB / 375.8 MB, free: 5.156 MB / 298.7 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.0001584/0.07182, allocations: 164.5 kB / 375.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.07185, allocations: 15.91 kB / 376 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.07237, allocations: 265.1 kB / 376.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.07238, allocations: 4 kB / 376.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.07239, allocations: 4 kB / 376.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.07239, allocations: 7.984 kB / 376.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.07262, allocations: 181.1 kB / 376.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.07263, allocations: 3.984 kB / 376.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.07271, allocations: 8 kB / 376.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.07272, allocations: 0 / 376.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.07273, allocations: 4 kB / 376.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.07273, allocations: 0 / 376.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.07273, allocations: 0 / 376.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.07322, allocations: 290.2 kB / 376.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.07328, allocations: 31.81 kB / 376.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.0733, allocations: 0 / 376.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.07361, allocations: 4 kB / 376.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.07367, allocations: 11.98 kB / 376.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.07368, allocations: 0 / 376.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.07379, allocations: 147.2 kB / 376.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07379, allocations: 0 / 376.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001439/0.07523, allocations: 498.5 kB / 377.4 MB, free: 3.473 MB / 298.7 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.002435/0.07767, allocations: 0.7687 MB / 378.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.07808, allocations: 151.6 kB / 378.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.07808, allocations: 0 / 378.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.07827, allocations: 88.2 kB / 378.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.07879, allocations: 86.53 kB / 378.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.07944, allocations: 311.2 kB / 378.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.07954, allocations: 106.3 kB / 378.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.07966, allocations: 39.78 kB / 378.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.07971, allocations: 16.5 kB / 378.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.07971, allocations: 0 / 378.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of Templates: time 0.03576/0.1155, allocations: 20.91 MB / 399.8 MB, free: 13.01 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.087780250934884]