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.0007603/0.0007603, 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.000835/0.000835, allocations: 165.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.9119/0.9119, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.0325/0.0325, allocations: 7.514 MB / 266.7 MB, free: 6.195 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 3.546e-06/3.546e-06, allocations: 0 / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.505e-05, allocations: 2.281 kB / 391.7 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01477/0.0148, allocations: 15.93 MB / 407.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.01687, allocations: 2.2 MB / 409.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.01692, allocations: 4 kB / 409.9 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007379/0.01766, allocations: 335.7 kB / 410.2 MB, free: 3.816 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005783/0.02345, allocations: 3.259 MB / 413.5 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.505e-05/0.02348, allocations: 11.98 kB / 413.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.02369, allocations: 202.9 kB / 413.7 MB, free: 344 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.09e-05/0.02375, allocations: 9.797 kB / 413.7 MB, free: 332 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.024, allocations: 127.6 kB / 413.8 MB, free: 204 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.02434, allocations: 43.84 kB / 413.9 MB, free: 160 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.02435, allocations: 8 kB / 413.9 MB, free: 152 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.02922, allocations: 4.393 MB / 418.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.02924, allocations: 11.92 kB / 418.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.02931, allocations: 39.88 kB / 418.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.03318, allocations: 2.611 MB / 420.9 MB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.03318, allocations: 0 / 420.9 MB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.03319, allocations: 4 kB / 420.9 MB, free: 9.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.03319, allocations: 0 / 420.9 MB, free: 9.074 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.001493/0.03468, allocations: 0.6006 MB / 421.5 MB, free: 8.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.03473, allocations: 12.62 kB / 421.5 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.03476, allocations: 46.48 kB / 421.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.03487, allocations: 35.88 kB / 421.6 MB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.03499, allocations: 129 kB / 421.7 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.035, allocations: 3.938 kB / 421.7 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.03501, allocations: 4 kB / 421.7 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.03523, allocations: 167 kB / 421.9 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.03524, allocations: 0 / 421.9 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.03525, allocations: 4 kB / 421.9 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.03526, allocations: 8 kB / 421.9 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.03549, allocations: 200.1 kB / 422.1 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.03569, allocations: 241.7 kB / 422.3 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.03587, allocations: 154.8 kB / 422.5 MB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.036, allocations: 141 kB / 422.6 MB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008316/0.04432, allocations: 3.641 MB / 426.3 MB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.04435, allocations: 30.56 kB / 426.3 MB, free: 3.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.04435, allocations: 4 kB / 426.3 MB, free: 3.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005972/0.04495, allocations: 477.5 kB / 426.8 MB, free: 3.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.04498, allocations: 51.41 kB / 426.8 MB, free: 2.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.04507, allocations: 123.2 kB / 427 MB, free: 2.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.04509, allocations: 29.7 kB / 427 MB, free: 2.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.04513, allocations: 92.78 kB / 427.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.0452, allocations: 111 kB / 427.2 MB, free: 2.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.04525, allocations: 29.7 kB / 427.2 MB, free: 2.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.04534, allocations: 330.8 kB / 427.5 MB, free: 2.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.04547, allocations: 131.8 kB / 427.7 MB, free: 2.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.04559, allocations: 123.9 kB / 427.8 MB, free: 2.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.04588, allocations: 315.9 kB / 428.1 MB, free: 1.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.04588, allocations: 0 / 428.1 MB, free: 1.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005757/0.04646, allocations: 351.6 kB / 428.4 MB, free: 1.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.04647, allocations: 4 kB / 428.4 MB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.04648, allocations: 0 / 428.4 MB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.04649, allocations: 0 / 428.4 MB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.04657, allocations: 27.91 kB / 428.5 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.04658, allocations: 4 kB / 428.5 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.04664, allocations: 23.83 kB / 428.5 MB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.04665, allocations: 0 / 428.5 MB, free: 1.293 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.499e-05/0.04673, allocations: 125.8 kB / 428.6 MB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.04674, allocations: 11.91 kB / 428.6 MB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.04711, allocations: 385.1 kB / 429 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.04712, allocations: 4 kB / 429 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.04713, allocations: 0 / 429 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.04713, allocations: 0 / 429 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.04729, allocations: 237.1 kB / 429.2 MB, free: 500 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.0473, allocations: 3.984 kB / 429.2 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.04735, allocations: 19.92 kB / 429.3 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.04735, allocations: 0 / 429.3 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.04736, allocations: 11.94 kB / 429.3 MB, free: 464 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.04736, allocations: 4 kB / 429.3 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.04737, allocations: 0 / 429.3 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.04769, allocations: 379 kB / 429.6 MB, free: 60 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.04774, allocations: 27.77 kB / 429.7 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.04775, allocations: 4 kB / 429.7 MB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.0478, allocations: 15.97 kB / 429.7 MB, free: 12 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.04784, allocations: 7.984 kB / 429.7 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.04785, allocations: 4.156 kB / 429.7 MB, free: 0 / 394.7 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.04791, allocations: 101 kB / 429.8 MB, free: 15.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04791, allocations: 0 / 429.8 MB, free: 15.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001125/0.04903, allocations: 0.4907 MB / 430.3 MB, free: 15.41 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.002117/0.05115, allocations: 1.589 MB / 431.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.0515, allocations: 276.1 kB / 432.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0515, allocations: 0 / 432.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.05163, allocations: 139.9 kB / 432.3 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.05192, allocations: 72.11 kB / 432.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.05412, allocations: 2.427 MB / 434.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.95e-05/0.05418, allocations: 102.3 kB / 434.9 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.05426, allocations: 27.95 kB / 434.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.05432, allocations: 44.42 kB / 435 MB, free: 10.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05432, allocations: 0 / 435 MB, free: 10.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1756/0.2299, allocations: 23.7 MB / 458.7 MB, free: 82.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.791, allocations: 0 / 458.7 MB, free: 82.43 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: 10.122194059193134] Failed to read output from testmodel.py, exit status != 0: 7.890484663657844 7.901480039 7.8665223 Calling exit ...