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.001144/0.001144, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001354/0.001354, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9098/0.9098, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.03468/0.03468, allocations: 7.524 MB / 266.7 MB, free: 6.203 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.059e-05, allocations: 2.281 kB / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.013/0.01302, allocations: 15.94 MB / 407.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.01517, allocations: 2.204 MB / 409.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.01522, allocations: 0 / 409.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000729/0.01595, allocations: 331.7 kB / 410.2 MB, free: 3.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.02113, allocations: 3.259 MB / 413.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.352e-05/0.02116, allocations: 11.98 kB / 413.5 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.02135, allocations: 202.9 kB / 413.7 MB, free: 356 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.0214, allocations: 9.797 kB / 413.7 MB, free: 344 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.0216, allocations: 131.5 kB / 413.8 MB, free: 212 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.02166, allocations: 51.83 kB / 413.9 MB, free: 160 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.02167, allocations: 4 kB / 413.9 MB, free: 156 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/0.02687, allocations: 4.381 MB / 418.2 MB, free: 11.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.0269, allocations: 23.86 kB / 418.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.02698, allocations: 35.92 kB / 418.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.03084, allocations: 2.611 MB / 420.9 MB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.03084, allocations: 0 / 420.9 MB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03085, allocations: 0 / 420.9 MB, free: 9.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.03085, allocations: 0 / 420.9 MB, free: 9.086 MB / 394.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.001134/0.03199, allocations: 0.6006 MB / 421.5 MB, free: 8.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.03203, allocations: 12.62 kB / 421.5 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.03207, allocations: 46.55 kB / 421.6 MB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.03218, allocations: 31.88 kB / 421.6 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.03229, allocations: 131.9 kB / 421.7 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.03231, allocations: 12 kB / 421.7 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.03232, allocations: 0 / 421.7 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.03255, allocations: 167 kB / 421.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.03256, allocations: 0 / 421.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.03257, allocations: 4 kB / 421.9 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.03258, allocations: 7.984 kB / 421.9 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.0328, allocations: 200.2 kB / 422.1 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.033, allocations: 249.6 kB / 422.4 MB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.03318, allocations: 146.8 kB / 422.5 MB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.03331, allocations: 137.1 kB / 422.6 MB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008524/0.04184, allocations: 3.645 MB / 426.3 MB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.04186, allocations: 34.56 kB / 426.3 MB, free: 3.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.04186, allocations: 0 / 426.3 MB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005501/0.04241, allocations: 473.5 kB / 426.8 MB, free: 3.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.04245, allocations: 59.39 kB / 426.8 MB, free: 3.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.04253, allocations: 133.8 kB / 427 MB, free: 2.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.04255, allocations: 25.7 kB / 427 MB, free: 2.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.04258, allocations: 84.8 kB / 427.1 MB, free: 2.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.04264, allocations: 111 kB / 427.2 MB, free: 2.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.04269, allocations: 33.7 kB / 427.2 MB, free: 2.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.04277, allocations: 326.8 kB / 427.5 MB, free: 2.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.04289, allocations: 127.9 kB / 427.7 MB, free: 2.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.04301, allocations: 123.9 kB / 427.8 MB, free: 2.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.04328, allocations: 315.9 kB / 428.1 MB, free: 1.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.04328, allocations: 0 / 428.1 MB, free: 1.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003042/0.04358, allocations: 351.5 kB / 428.4 MB, free: 1.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.0436, allocations: 8 kB / 428.4 MB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.0436, allocations: 0 / 428.4 MB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.04361, allocations: 0 / 428.4 MB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.04369, allocations: 15.98 kB / 428.5 MB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.0437, allocations: 0 / 428.5 MB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.04376, allocations: 27.83 kB / 428.5 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.04377, allocations: 4 kB / 428.5 MB, free: 1.309 MB / 394.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 7.393e-05/0.04384, allocations: 125.8 kB / 428.6 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.04386, allocations: 15.91 kB / 428.6 MB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.04424, allocations: 389 kB / 429 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.04424, allocations: 7.984 kB / 429 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.04425, allocations: 0 / 429 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.04425, allocations: 0 / 429 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.0444, allocations: 241.1 kB / 429.2 MB, free: 500 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.0444, allocations: 0 / 429.2 MB, free: 500 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.04445, allocations: 19.98 kB / 429.3 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.04445, allocations: 0 / 429.3 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.04446, allocations: 0 / 429.3 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.04446, allocations: 3.938 kB / 429.3 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.04446, allocations: 0 / 429.3 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.04478, allocations: 394.9 kB / 429.7 MB, free: 60 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.04482, allocations: 31.7 kB / 429.7 MB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.04483, allocations: 4 kB / 429.7 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.04488, allocations: 7.984 kB / 429.7 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.04491, allocations: 11.98 kB / 429.7 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.04493, allocations: 8.047 kB / 429.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.485e-05/0.04498, allocations: 100.6 kB / 429.8 MB, free: 15.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04498, allocations: 0 / 429.8 MB, free: 15.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001332/0.04631, allocations: 490.6 kB / 430.3 MB, free: 15.42 MB / 410.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.00223/0.04854, allocations: 1.597 MB / 431.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.04887, allocations: 268.3 kB / 432.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.04887, allocations: 0 / 432.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.049, allocations: 135.9 kB / 432.3 MB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.04931, allocations: 72.2 kB / 432.4 MB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.05137, allocations: 2.433 MB / 434.8 MB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.719e-05/0.05143, allocations: 102.4 kB / 434.9 MB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.484e-05/0.05151, allocations: 35.94 kB / 434.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.05157, allocations: 32.5 kB / 435 MB, free: 10.62 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05157, allocations: 0 / 435 MB, free: 10.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1751/0.2266, allocations: 23.63 MB / 458.6 MB, free: 82.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.619, allocations: 2.969 kB / 458.6 MB, free: 82.41 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.947494311258197] Failed to read output from testmodel.py, exit status != 0: 7.714692549780011 7.728117313 7.694580214 Calling exit ...