Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.001521/0.001521, allocations: 106.8 kB / 16.45 MB, free: 6.453 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.001717/0.001717, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.009632/0.009632, allocations: 1.241 MB / 310.1 MB, free: 3.141 MB / 238.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-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(FluxTubesExtension.Examples.ToroidalCoreAirgap,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ToroidalCoreAirgap,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: FluxTubesExtension requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.89 kB / 430.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 53.6 MB / 484.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.005041/0.1138, allocations: 3.022 MB / 487.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1164, allocations: 1.433 MB / 488.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.1167, allocations: 7.938 kB / 488.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.1173, allocations: 155 kB / 489.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.1177, allocations: 119.1 kB / 489.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.1185, allocations: 265.7 kB / 489.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.1191, allocations: 434.4 kB / 489.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1194, allocations: 99.27 kB / 490 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.1197, allocations: 187.2 kB / 490.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.12, allocations: 191.1 kB / 490.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.1201, allocations: 40 kB / 490.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.1205, allocations: 223.6 kB / 490.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1206, allocations: 95.66 kB / 490.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.1208, allocations: 198.9 kB / 490.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.1215, allocations: 0.5175 MB / 491.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1215, allocations: 0 / 491.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1215, allocations: 0 / 491.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1215, allocations: 3.938 kB / 491.4 MB, free: 5.277 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001508/0.123, allocations: 0.7203 MB / 492.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1231, allocations: 8.031 kB / 492.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.332e-05/0.1232, allocations: 70.72 kB / 492.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.1233, allocations: 44.66 kB / 492.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.1238, allocations: 332.2 kB / 492.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.1238, allocations: 21.03 kB / 492.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.1239, allocations: 36.38 kB / 492.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.1246, allocations: 298.2 kB / 492.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1246, allocations: 0 / 492.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.1246, allocations: 16 kB / 493 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1246, allocations: 11.94 kB / 493 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.1253, allocations: 278.4 kB / 493.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1274, allocations: 1.167 MB / 494.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.1279, allocations: 193.1 kB / 494.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1281, allocations: 80.84 kB / 494.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.1281, allocations: 11.98 kB / 494.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1282, allocations: 38.56 kB / 494.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.1282, allocations: 0 / 494.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.003239/0.1314, allocations: 0.8935 MB / 495.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1315, allocations: 55.64 kB / 495.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.1319, allocations: 316.5 kB / 496 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.1319, allocations: 33.7 kB / 496 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.1321, allocations: 248 kB / 496.2 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.1322, allocations: 99.17 kB / 496.3 MB, free: 88 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1323, allocations: 78.02 kB / 496.4 MB, free: 0 / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1325, allocations: 334.8 kB / 496.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.1329, allocations: 124.6 kB / 496.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.1333, allocations: 217.2 kB / 497.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.1341, allocations: 348.7 kB / 497.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1341, allocations: 0 / 497.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00159/0.1357, allocations: 0.6001 MB / 498 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.1357, allocations: 8 kB / 498 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.1358, allocations: 7.938 kB / 498 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/0.1379, allocations: 0.8196 MB / 498.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.1383, allocations: 79.83 kB / 498.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.1393, allocations: 1.171 MB / 0.4884 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.1396, allocations: 28.11 kB / 0.4884 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1397, allocations: 15.98 kB / 0.4884 GB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.1399, allocations: 158 kB / 0.4886 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.1399, allocations: 31.81 kB / 0.4886 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.1415, allocations: 0.5395 MB / 0.4891 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1415, allocations: 0 / 0.4891 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.1415, allocations: 4 kB / 0.4891 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1415, allocations: 4 kB / 0.4891 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.1421, allocations: 377.3 kB / 0.4895 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1421, allocations: 0 / 0.4895 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.1423, allocations: 43.91 kB / 0.4895 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.1443, allocations: 0.8122 MB / 0.4903 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.1443, allocations: 8 kB / 0.4903 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/0.1453, allocations: 1.171 MB / 0.4915 GB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.1453, allocations: 8.156 kB / 0.4915 GB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.1468, allocations: 0.5902 MB / 0.4921 GB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1469, allocations: 104.9 kB / 0.4922 GB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.147, allocations: 4 kB / 0.4922 GB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.1472, allocations: 19.97 kB / 0.4922 GB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.1473, allocations: 19.92 kB / 0.4922 GB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1473, allocations: 11.98 kB / 0.4922 GB, free: 8.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.1476, allocations: 219.1 kB / 0.4924 GB, free: 7.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1476, allocations: 4 kB / 0.4924 GB, free: 7.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.1481, allocations: 107.8 kB / 0.4925 GB, free: 7.742 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001926/0.15, allocations: 1.168 MB / 0.4937 GB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.151, allocations: 319.6 kB / 0.494 GB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.151, allocations: 0 / 0.494 GB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005309/0.1516, allocations: 168.6 kB / 0.4941 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.1521, allocations: 42.69 kB / 0.4942 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.1598, allocations: 3.807 MB / 0.4979 GB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.1603, allocations: 0.7873 MB / 0.4987 GB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.1605, allocations: 38.95 kB / 0.4987 GB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.1607, allocations: 123.3 kB / 0.4988 GB, free: 1.078 MB / 366.1 MB Notification: Performance of SimCode: time 1.493e-06/0.1607, allocations: 0 / 0.4988 GB, free: 1.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.2007, allocations: 7.463 MB / 0.5061 GB, free: 9.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.4, allocations: 7.922 kB / 0.5061 GB, free: 9.734 MB / 382.1 MB " [Timeout remaining time 647] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & python3 -m fmpy simulate --output-file FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.33756204880774] Failed to read output from testmodel.py, exit status != 0: 13.501099736895412 13.711389711 13.584612963 Calling exit ...