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.001439/0.001439, allocations: 85.28 kB / 19.43 MB, free: 1.984 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.001527/0.001527, allocations: 166.2 kB / 22.75 MB, free: 4.773 MB / 14.72 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.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 9.059 MB / 190.1 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.04944/0.04944, allocations: 7.515 MB / 267.1 MB, free: 9.484 MB / 254.1 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 2.495e-06/2.495e-06, allocations: 0 / 337.9 MB, free: 33.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.143e-05, allocations: 2.312 kB / 337.9 MB, free: 33.05 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01329/0.01332, allocations: 15.94 MB / 353.8 MB, free: 17.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.01536, allocations: 2.2 MB / 356 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.01542, allocations: 4 kB / 356 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007554/0.01617, allocations: 339.6 kB / 356.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006013/0.02218, allocations: 3.255 MB / 359.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.104e-05/0.02221, allocations: 7.984 kB / 359.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.0224, allocations: 214.8 kB / 359.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.02245, allocations: 5.812 kB / 359.8 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.02265, allocations: 127.5 kB / 360 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.02274, allocations: 39.86 kB / 360 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.02275, allocations: 4 kB / 360 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.02792, allocations: 4.393 MB / 364.4 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.02795, allocations: 19.86 kB / 364.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.028, allocations: 39.92 kB / 364.5 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.03107, allocations: 2.607 MB / 367.1 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.03107, allocations: 4 kB / 367.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.03108, allocations: 0 / 367.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.03108, allocations: 0 / 367.1 MB, free: 3.773 MB / 286.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.001159/0.03224, allocations: 0.6006 MB / 367.7 MB, free: 3.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.03228, allocations: 12.62 kB / 367.7 MB, free: 3.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.03243, allocations: 35.88 kB / 367.7 MB, free: 3.094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.03255, allocations: 136.9 kB / 367.8 MB, free: 2.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.03256, allocations: 7.984 kB / 367.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.03258, allocations: 8 kB / 367.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.03288, allocations: 166.9 kB / 368 MB, free: 2.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.03289, allocations: 0 / 368 MB, free: 2.746 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.0329, allocations: 0 / 368 MB, free: 2.746 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.03291, allocations: 11.98 kB / 368 MB, free: 2.734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.03326, allocations: 196.2 kB / 368.2 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.03344, allocations: 206.3 kB / 368.4 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.03369, allocations: 158.7 kB / 368.6 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.03389, allocations: 129.1 kB / 368.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/0.05134, allocations: 3.658 MB / 372.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.05139, allocations: 34.56 kB / 372.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.05139, allocations: 0 / 372.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.001008/0.0524, allocations: 473.5 kB / 372.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.05244, allocations: 55.41 kB / 372.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.05259, allocations: 133.8 kB / 373.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.05261, allocations: 29.64 kB / 373.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.05266, allocations: 84.8 kB / 373.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.05278, allocations: 118.9 kB / 373.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.05284, allocations: 41.66 kB / 373.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.05302, allocations: 326.8 kB / 373.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.05326, allocations: 123.9 kB / 373.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.05351, allocations: 123.9 kB / 373.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.05403, allocations: 315.9 kB / 374.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.05404, allocations: 0 / 374.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00063/0.05467, allocations: 351.6 kB / 374.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.05468, allocations: 4 kB / 374.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.05469, allocations: 0 / 374.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.0547, allocations: 0 / 374.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.05484, allocations: 23.92 kB / 374.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.05485, allocations: 4 kB / 374.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.05497, allocations: 27.86 kB / 374.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.05499, allocations: 0 / 374.6 MB, free: 12.06 MB / 302.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.0001074/0.0551, allocations: 117.8 kB / 374.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.05513, allocations: 15.91 kB / 374.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/0.05583, allocations: 385.1 kB / 375.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.05585, allocations: 11.98 kB / 375.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.05585, allocations: 0 / 375.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.05586, allocations: 3.938 kB / 375.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.05609, allocations: 201.8 kB / 375.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.05609, allocations: 0 / 375.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.05621, allocations: 19.97 kB / 375.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.05621, allocations: 0 / 375.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.05622, allocations: 0 / 375.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.05622, allocations: 4 kB / 375.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.05622, allocations: 4 kB / 375.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.05687, allocations: 386.9 kB / 375.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.05693, allocations: 23.83 kB / 375.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.05696, allocations: 4 kB / 375.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.05707, allocations: 15.98 kB / 375.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.05711, allocations: 15.86 kB / 375.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.05712, allocations: 4 kB / 375.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.332e-05/0.05722, allocations: 110.1 kB / 375.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05722, allocations: 0 / 375.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001525/0.05874, allocations: 494.6 kB / 376.4 MB, free: 10.22 MB / 302.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.002559/0.0613, allocations: 0.7759 MB / 377.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006416/0.06194, allocations: 271.8 kB / 377.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.06194, allocations: 0 / 377.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.06223, allocations: 131.9 kB / 377.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.06273, allocations: 76.48 kB / 377.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/0.06344, allocations: 373.5 kB / 378 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.06354, allocations: 102.3 kB / 378.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.06365, allocations: 31.86 kB / 378.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.0637, allocations: 16.5 kB / 378.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.0637, allocations: 0 / 378.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of Templates: time 0.03418/0.09788, allocations: 20.85 MB / 399 MB, free: 3.613 MB / 318.1 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.663188107311726]