Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.001426/0.001426, allocations: 110.1 kB / 16.46 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.001768/0.001768, 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.564/1.564, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.009745/0.009745, allocations: 1.234 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.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",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.001994/0.001994, allocations: 63.89 kB / 430.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09939, allocations: 53.61 MB / 484.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004822/0.1042, allocations: 2.841 MB / 487.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.1074, allocations: 1.709 MB / 489 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1076, allocations: 4 kB / 489 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.1085, allocations: 195 kB / 489.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.1089, allocations: 99.19 kB / 489.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1099, allocations: 291.2 kB / 489.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.1105, allocations: 394.4 kB / 490 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1108, allocations: 77.69 kB / 490.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.1111, allocations: 159.4 kB / 490.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1114, allocations: 163.3 kB / 490.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.1114, allocations: 36 kB / 490.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.1119, allocations: 203.6 kB / 490.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.112, allocations: 83.62 kB / 490.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.1122, allocations: 175.1 kB / 490.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.1129, allocations: 462.1 kB / 491.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1129, allocations: 0 / 491.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1129, allocations: 0 / 491.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1129, allocations: 3.938 kB / 491.3 MB, free: 5.379 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001252/0.1142, allocations: 0.6658 MB / 492 MB, free: 4.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1142, allocations: 8.031 kB / 492 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.396e-05/0.1143, allocations: 58.73 kB / 492.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.1145, allocations: 60.64 kB / 492.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.115, allocations: 286.8 kB / 492.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.115, allocations: 20.94 kB / 492.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.1151, allocations: 32.31 kB / 492.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.1157, allocations: 273 kB / 492.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1157, allocations: 0 / 492.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1157, allocations: 8 kB / 492.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1157, allocations: 11.94 kB / 492.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.1162, allocations: 246.1 kB / 493 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1182, allocations: 1.076 MB / 494 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.1187, allocations: 238.4 kB / 494.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.119, allocations: 116.8 kB / 494.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.134e-05/0.119, allocations: 20.05 kB / 494.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.1191, allocations: 34.56 kB / 494.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.1191, allocations: 0 / 494.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004965/0.124, allocations: 1.616 MB / 496.1 MB, free: 364 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.1241, allocations: 55.41 kB / 496.1 MB, free: 296 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1245, allocations: 279 kB / 496.4 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.1245, allocations: 33.7 kB / 496.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1247, allocations: 208.4 kB / 496.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1248, allocations: 123 kB / 496.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1249, allocations: 73.59 kB / 496.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1251, allocations: 346.7 kB / 497.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1254, allocations: 112 kB / 497.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.1257, allocations: 172.4 kB / 497.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.1263, allocations: 298.1 kB / 497.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1263, allocations: 0 / 497.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001922/0.1282, allocations: 0.6291 MB / 498.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1282, allocations: 4 kB / 498.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1283, allocations: 0 / 498.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002832/0.1311, allocations: 0.5285 MB / 498.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.1314, allocations: 67.89 kB / 499 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.1326, allocations: 1.28 MB / 0.4885 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.1329, allocations: 16.06 kB / 0.4885 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1329, allocations: 15.94 kB / 0.4885 GB, free: 12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.1331, allocations: 157.8 kB / 0.4887 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.1332, allocations: 31.77 kB / 0.4887 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.135, allocations: 0.5842 MB / 0.4893 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.135, allocations: 0 / 0.4893 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.135, allocations: 8 kB / 0.4893 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.135, allocations: 3.984 kB / 0.4893 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.1374, allocations: 1.056 MB / 0.4903 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1374, allocations: 0 / 0.4903 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.1377, allocations: 52.03 kB / 0.4904 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00276/0.1404, allocations: 0.5207 MB / 0.4909 GB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.1405, allocations: 12 kB / 0.4909 GB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.1416, allocations: 1.276 MB / 0.4921 GB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1416, allocations: 0 / 0.4921 GB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.1437, allocations: 0.8117 MB / 0.4929 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.1438, allocations: 104.9 kB / 0.493 GB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.1439, allocations: 11.94 kB / 0.4931 GB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1441, allocations: 11.98 kB / 0.4931 GB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.1442, allocations: 23.97 kB / 0.4931 GB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1442, allocations: 8 kB / 0.4931 GB, free: 7.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.1444, allocations: 202 kB / 0.4933 GB, free: 6.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1444, allocations: 0 / 0.4933 GB, free: 6.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.1449, allocations: 92 kB / 0.4934 GB, free: 6.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002556/0.1474, allocations: 1.384 MB / 0.4947 GB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000872/0.1483, allocations: 323.9 kB / 0.495 GB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1483, allocations: 0 / 0.495 GB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.1488, allocations: 179.9 kB / 0.4952 GB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.1492, allocations: 36.44 kB / 0.4952 GB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.1565, allocations: 3.75 MB / 0.4989 GB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.157, allocations: 0.7876 MB / 0.4997 GB, free: 204 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.1571, allocations: 26.27 kB / 0.4997 GB, free: 176 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1573, allocations: 111.4 kB / 0.4998 GB, free: 64 kB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1573, allocations: 0 / 0.4998 GB, free: 64 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/0.1953, allocations: 7.198 MB / 0.5068 GB, free: 9.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.28, allocations: 4.062 kB / 0.5068 GB, free: 9 MB / 382.1 MB " [Timeout remaining time 647] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor.fmu > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.31474173720926] Failed to read output from testmodel.py, exit status != 0: 13.379658522084355 13.588862152999999 13.472955503 Calling exit ...