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.001338/0.001338, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001518/0.001518, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.805 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.05073/0.05073, allocations: 9.131 MB / 321.6 MB, free: 10.25 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: "" <> 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 0.001944/0.001944, allocations: 63.91 kB / 446.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1094, allocations: 54.95 MB / 0.4897 GB, free: 9.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01945/0.1289, allocations: 15.95 MB / 0.5053 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.1319, allocations: 2.208 MB / 0.5074 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.132, allocations: 0 / 0.5074 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009419/0.133, allocations: 327.8 kB / 0.5078 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007781/0.1407, allocations: 3.238 MB / 0.5109 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.1408, allocations: 7.984 kB / 0.5109 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1411, allocations: 191 kB / 0.5111 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.1411, allocations: 9.75 kB / 0.5111 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.1414, allocations: 99.5 kB / 0.5112 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1415, allocations: 55.66 kB / 0.5113 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1415, allocations: 4 kB / 0.5113 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2132/0.3547, allocations: 4.36 MB / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.3547, allocations: 23.11 kB / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3548, allocations: 49.72 kB / 0.5156 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.3608, allocations: 2.214 MB / 0.5178 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3608, allocations: 5.859 kB / 0.5178 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3608, allocations: 0 / 0.5178 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3608, allocations: 3.969 kB / 0.5178 GB, free: 11.06 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.001456/0.3622, allocations: 0.6047 MB / 0.5184 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3623, allocations: 13.34 kB / 0.5184 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.3623, allocations: 40.97 kB / 0.5184 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3625, allocations: 32.45 kB / 0.5184 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3626, allocations: 130.5 kB / 0.5186 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3626, allocations: 3.766 kB / 0.5186 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3626, allocations: 3.25 kB / 0.5186 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3629, allocations: 170.4 kB / 0.5187 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3629, allocations: 0 / 0.5187 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3629, allocations: 7.219 kB / 0.5187 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3629, allocations: 6.094 kB / 0.5187 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.3633, allocations: 199.3 kB / 0.5189 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.3635, allocations: 245.9 kB / 0.5192 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.3638, allocations: 147.5 kB / 0.5193 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.364, allocations: 141.2 kB / 0.5194 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01685/0.3809, allocations: 3.634 MB / 0.523 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3809, allocations: 30.56 kB / 0.523 GB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.3809, allocations: 0 / 0.523 GB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008986/0.3818, allocations: 479.4 kB / 0.5235 GB, free: 10.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3819, allocations: 52.97 kB / 0.5235 GB, free: 9.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.3819, allocations: 126.8 kB / 0.5237 GB, free: 9.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.382, allocations: 31.64 kB / 0.5237 GB, free: 9.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.382, allocations: 87.44 kB / 0.5238 GB, free: 9.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.3821, allocations: 114.6 kB / 0.5239 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.3821, allocations: 34.62 kB / 0.5239 GB, free: 9.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.3822, allocations: 328.8 kB / 0.5242 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3824, allocations: 125.1 kB / 0.5243 GB, free: 9.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3826, allocations: 121.9 kB / 0.5245 GB, free: 9.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.383, allocations: 315.1 kB / 0.5248 GB, free: 9.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.383, allocations: 4 kB / 0.5248 GB, free: 9.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005113/0.3836, allocations: 348 kB / 0.5251 GB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3836, allocations: 10.78 kB / 0.5251 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3836, allocations: 0 / 0.5251 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3836, allocations: 0 / 0.5251 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3837, allocations: 18.44 kB / 0.5251 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.3837, allocations: 0.9375 kB / 0.5251 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3838, allocations: 32.06 kB / 0.5252 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3839, allocations: 2.562 kB / 0.5252 GB, free: 9.223 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 6.827e-05/0.3839, allocations: 114.2 kB / 0.5253 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.384, allocations: 18.36 kB / 0.5253 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.3846, allocations: 386.9 kB / 0.5256 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3846, allocations: 8.719 kB / 0.5257 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3846, allocations: 4.594 kB / 0.5257 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3846, allocations: 0 / 0.5257 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3848, allocations: 233.6 kB / 0.5259 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3848, allocations: 1.531 kB / 0.5259 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3849, allocations: 19.31 kB / 0.5259 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3849, allocations: 4.688 kB / 0.5259 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3849, allocations: 1.25 kB / 0.5259 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3849, allocations: 0.5625 kB / 0.5259 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3849, allocations: 4.781 kB / 0.5259 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.3854, allocations: 387.7 kB / 0.5263 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3855, allocations: 30.56 kB / 0.5263 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3855, allocations: 10.22 kB / 0.5263 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3856, allocations: 12.12 kB / 0.5263 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.3857, allocations: 6.016 kB / 0.5263 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3857, allocations: 7.062 kB / 0.5263 GB, free: 8.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.131e-05/0.3857, allocations: 101.9 kB / 0.5264 GB, free: 8.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3857, allocations: 2.625 kB / 0.5264 GB, free: 8.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002168/0.3879, allocations: 498 kB / 0.5269 GB, free: 8.547 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.002884/0.3908, allocations: 1.539 MB / 0.5284 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005496/0.3913, allocations: 276.2 kB / 0.5287 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3913, allocations: 3.375 kB / 0.5287 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.3916, allocations: 139 kB / 0.5288 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.392, allocations: 72.61 kB / 0.5289 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.395, allocations: 2.433 MB / 0.5313 GB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.3951, allocations: 106.4 kB / 0.5314 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3952, allocations: 34.23 kB / 0.5314 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.3952, allocations: 38.88 kB / 0.5314 GB, free: 6.371 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3952, allocations: 0 / 0.5314 GB, free: 6.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/0.4562, allocations: 23.54 MB / 0.5544 GB, free: 10.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.2, allocations: 4.062 kB / 0.5544 GB, free: 10.44 MB / 398.1 MB " [Timeout remaining time 648] (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: 15.106615638826042] Failed to read output from testmodel.py, exit status != 0: 12.318368483800441 12.334139171 11.970256413 Calling exit ...