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.001433/0.001433, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001581/0.001581, allocations: 215.7 kB / 22.3 MB, free: 5.305 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.5/1.5, allocations: 230.6 MB / 256.1 MB, free: 7.812 MB / 206.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.05313/0.05313, allocations: 9.135 MB / 321.6 MB, free: 10.31 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 0.002043/0.002043, allocations: 67.89 kB / 447.1 MB, free: 160 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1146, allocations: 54.95 MB / 0.4903 GB, free: 9.105 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02249/0.1371, allocations: 15.95 MB / 0.5059 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.1404, allocations: 2.208 MB / 0.508 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.1405, allocations: 0 / 0.508 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.1415, allocations: 335.8 kB / 0.5083 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008256/0.1497, allocations: 3.228 MB / 0.5115 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.113e-05/0.1498, allocations: 7.984 kB / 0.5115 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.15, allocations: 187.1 kB / 0.5117 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.1501, allocations: 9.797 kB / 0.5117 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.1503, allocations: 103.5 kB / 0.5118 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1504, allocations: 63.66 kB / 0.5118 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1505, allocations: 4 kB / 0.5119 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1997/0.3501, allocations: 4.357 MB / 0.5161 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.3502, allocations: 22.92 kB / 0.5161 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3503, allocations: 48.75 kB / 0.5162 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.3548, allocations: 2.217 MB / 0.5183 GB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3548, allocations: 0 / 0.5183 GB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3548, allocations: 1.391 kB / 0.5183 GB, free: 11.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3549, allocations: 0 / 0.5183 GB, free: 11.42 MB / 382.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.001401/0.3563, allocations: 0.6125 MB / 0.5189 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3563, allocations: 9.562 kB / 0.5189 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.3564, allocations: 30.62 kB / 0.519 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.3566, allocations: 131.5 kB / 0.5191 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3566, allocations: 1.562 kB / 0.5191 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3566, allocations: 1.062 kB / 0.5191 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.3569, allocations: 169.9 kB / 0.5193 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3569, allocations: 3.375 kB / 0.5193 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.357, allocations: 0.7969 kB / 0.5193 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.357, allocations: 9.031 kB / 0.5193 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.3574, allocations: 200.8 kB / 0.5195 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3576, allocations: 209.7 kB / 0.5197 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3579, allocations: 150.8 kB / 0.5198 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3581, allocations: 142 kB / 0.52 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.376, allocations: 3.632 MB / 0.5235 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.376, allocations: 32.17 kB / 0.5235 GB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.334e-06/0.376, allocations: 1.719 kB / 0.5235 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009727/0.377, allocations: 475.7 kB / 0.524 GB, free: 10.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.377, allocations: 53.44 kB / 0.524 GB, free: 10.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3771, allocations: 133 kB / 0.5242 GB, free: 10.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3771, allocations: 25.7 kB / 0.5242 GB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.3772, allocations: 87.55 kB / 0.5243 GB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.78e-05/0.3773, allocations: 117.8 kB / 0.5244 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.3773, allocations: 34.75 kB / 0.5244 GB, free: 10.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.3774, allocations: 328.6 kB / 0.5247 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.3776, allocations: 127.2 kB / 0.5249 GB, free: 9.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3778, allocations: 122.3 kB / 0.525 GB, free: 9.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.3783, allocations: 313.2 kB / 0.5253 GB, free: 9.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3783, allocations: 0 / 0.5253 GB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005541/0.3789, allocations: 352.5 kB / 0.5256 GB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3789, allocations: 5.562 kB / 0.5256 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3789, allocations: 1.609 kB / 0.5256 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3789, allocations: 3.938 kB / 0.5256 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3791, allocations: 18.97 kB / 0.5256 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3791, allocations: 2.5 kB / 0.5256 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3792, allocations: 29.8 kB / 0.5257 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3792, allocations: 1.312 kB / 0.5257 GB, free: 9.66 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 7.07e-05/0.3793, allocations: 115.5 kB / 0.5258 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.3793, allocations: 16.94 kB / 0.5258 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.3799, allocations: 384.4 kB / 0.5262 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.3799, allocations: 16.42 kB / 0.5262 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3799, allocations: 1.188 kB / 0.5262 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3799, allocations: 0.7031 kB / 0.5262 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3801, allocations: 195.2 kB / 0.5264 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3801, allocations: 1.25 kB / 0.5264 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.3802, allocations: 21.41 kB / 0.5264 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3802, allocations: 0 / 0.5264 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3802, allocations: 5.609 kB / 0.5264 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3802, allocations: 3.875 kB / 0.5264 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3802, allocations: 6 kB / 0.5264 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.3808, allocations: 387.7 kB / 0.5268 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.3808, allocations: 34.34 kB / 0.5268 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3809, allocations: 1.922 kB / 0.5268 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.381, allocations: 11.05 kB / 0.5268 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.381, allocations: 14.17 kB / 0.5268 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.381, allocations: 2.188 kB / 0.5268 GB, free: 9.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.3811, allocations: 100.8 kB / 0.5269 GB, free: 9.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3811, allocations: 4 kB / 0.5269 GB, free: 9.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00233/0.3834, allocations: 497 kB / 0.5274 GB, free: 9.016 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.002299/0.3857, allocations: 0.7255 MB / 0.5281 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006048/0.3863, allocations: 269.7 kB / 0.5284 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3863, allocations: 0.6562 kB / 0.5284 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.3867, allocations: 136.4 kB / 0.5285 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.3872, allocations: 68.05 kB / 0.5286 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.3879, allocations: 397.3 kB / 0.5289 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.3879, allocations: 102.8 kB / 0.529 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3881, allocations: 32.27 kB / 0.5291 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3881, allocations: 15.09 kB / 0.5291 GB, free: 8.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3881, allocations: 0 / 0.5291 GB, free: 8.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02589/0.414, allocations: 20.79 MB / 0.5494 GB, free: 15.43 MB / 398.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: 6.342191125266254] Failed to read output from testmodel.py, exit status != 0: 0.4213175028562546 0.43698549900000005 0.078791344 Calling exit ...