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.0008521/0.0008521, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009972/0.0009972, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9196/0.9196, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.03989/0.03989, allocations: 7.53 MB / 267.8 MB, free: 5.879 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.683e-06/1.683e-06, allocations: 0 / 285.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.746e-05, allocations: 10.25 kB / 285.8 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.1265/0.1265, allocations: 17.49 MB / 303.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1286, allocations: 2.365 MB / 305.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.1287, allocations: 0 / 305.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000751/0.1295, allocations: 343.5 kB / 306 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.1351, allocations: 3.266 MB / 309.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.445e-05/0.1351, allocations: 10.7 kB / 309.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1353, allocations: 208.6 kB / 309.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.1353, allocations: 10.84 kB / 309.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1355, allocations: 132.2 kB / 309.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.1356, allocations: 41.58 kB / 309.7 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1356, allocations: 7.906 kB / 309.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004137/0.1397, allocations: 4.349 MB / 314 MB, free: 5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.1397, allocations: 7.938 kB / 314 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1398, allocations: 47.86 kB / 314.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.1425, allocations: 2.603 MB / 316.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1425, allocations: 0 / 316.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1425, allocations: 0 / 316.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1425, allocations: 4 kB / 316.7 MB, free: 2.332 MB / 266.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.0007335/0.1432, allocations: 0.5697 MB / 317.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.1432, allocations: 8.625 kB / 317.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.1433, allocations: 31.97 kB / 317.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.714e-05/0.1434, allocations: 138.3 kB / 317.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1434, allocations: 0 / 317.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1434, allocations: 4 kB / 317.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1435, allocations: 94.69 kB / 317.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1435, allocations: 0 / 317.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.1435, allocations: 4 kB / 317.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1435, allocations: 0.9375 kB / 317.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.1436, allocations: 44.27 kB / 317.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.1437, allocations: 127.7 kB / 317.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.1437, allocations: 66.78 kB / 317.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.1438, allocations: 41.14 kB / 317.8 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007392/0.1512, allocations: 3.429 MB / 321.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1512, allocations: 30.56 kB / 321.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.303e-06/0.1512, allocations: 0 / 321.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002213/0.1514, allocations: 198.6 kB / 321.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1514, allocations: 55.41 kB / 321.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.1515, allocations: 132.9 kB / 321.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.1515, allocations: 29.64 kB / 321.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.1515, allocations: 84.8 kB / 321.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.1516, allocations: 114.9 kB / 321.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.1516, allocations: 41.62 kB / 321.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.1517, allocations: 322.8 kB / 322.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.1517, allocations: 34.81 kB / 322.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.1518, allocations: 32.83 kB / 322.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.1518, allocations: 130 kB / 322.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1519, allocations: 0.5625 kB / 322.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001183/0.152, allocations: 167.7 kB / 322.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.152, allocations: 4 kB / 322.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.152, allocations: 0 / 322.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.152, allocations: 4 kB / 322.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.1521, allocations: 16.73 kB / 322.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.1521, allocations: 0 / 322.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.1521, allocations: 11.89 kB / 322.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1521, allocations: 4 kB / 322.6 MB, free: 12.25 MB / 282.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 5.773e-05/0.1522, allocations: 113.8 kB / 322.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1522, allocations: 15.92 kB / 322.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.1523, allocations: 205.2 kB / 323 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.1523, allocations: 7.984 kB / 323 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1523, allocations: 6.188 kB / 323 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1524, allocations: 0 / 323 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.505e-05/0.1524, allocations: 126.4 kB / 323.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1524, allocations: 0 / 323.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1525, allocations: 12 kB / 323.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1525, allocations: 3.938 kB / 323.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1525, allocations: 7.984 kB / 323.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1525, allocations: 0 / 323.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1525, allocations: 0 / 323.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.1526, allocations: 208.8 kB / 323.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.1527, allocations: 27.78 kB / 323.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1527, allocations: 8.922 kB / 323.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.132e-05/0.1527, allocations: 7.984 kB / 323.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1527, allocations: 7.984 kB / 323.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1528, allocations: 4 kB / 323.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.169e-05/0.1528, allocations: 20.84 kB / 323.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1528, allocations: 0 / 323.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006496/0.1534, allocations: 498.5 kB / 323.9 MB, free: 10.94 MB / 282.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.001374/0.1548, allocations: 0.7879 MB / 324.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1549, allocations: 104.8 kB / 324.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1549, allocations: 0 / 324.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.155, allocations: 60.7 kB / 324.8 MB, free: 9.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1552, allocations: 80.28 kB / 324.9 MB, free: 9.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.1558, allocations: 331 kB / 325.2 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.1558, allocations: 76.06 kB / 325.3 MB, free: 9.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.1559, allocations: 25.56 kB / 325.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.156, allocations: 91.33 kB / 325.4 MB, free: 9.367 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.156, allocations: 8 kB / 325.4 MB, free: 9.359 MB / 282.7 MB Notification: Performance of Templates: time 0.02621/0.1822, allocations: 24.07 MB / 349.5 MB, free: 1.398 MB / 298.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: 3.4484148039482534]