Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.002023/0.002023, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.00283/0.00283, allocations: 212 kB / 19.43 MB, free: 3.637 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.586/1.586, 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.02091/0.02091, allocations: 1.233 MB / 310.1 MB, free: 3.125 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.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",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.002883/0.002883, allocations: 63.89 kB / 430.9 MB, free: 18.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.109, allocations: 53.6 MB / 484.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003268/0.1123, allocations: 1.563 MB / 486 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1148, allocations: 1.292 MB / 487.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1149, allocations: 4 kB / 487.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.1156, allocations: 147.6 kB / 487.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009164/0.1165, allocations: 259 kB / 487.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.046e-05/0.1165, allocations: 0 / 487.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1167, allocations: 111.5 kB / 487.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.1168, allocations: 9.453 kB / 487.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.1168, allocations: 43.78 kB / 487.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.117, allocations: 71.67 kB / 488 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1171, allocations: 4 kB / 488 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.1179, allocations: 447 kB / 488.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.118, allocations: 27.91 kB / 488.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.118, allocations: 59.55 kB / 488.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.1187, allocations: 342.7 kB / 488.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1187, allocations: 0 / 488.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1187, allocations: 3.938 kB / 488.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1187, allocations: 4 kB / 488.8 MB, free: 7.977 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001044/0.1198, allocations: 494.1 kB / 489.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.1198, allocations: 8.031 kB / 489.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/0.1199, allocations: 38.75 kB / 489.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.12, allocations: 12.84 kB / 489.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.1203, allocations: 231.9 kB / 489.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1204, allocations: 384 / 489.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1204, allocations: 20.3 kB / 489.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1206, allocations: 97.78 kB / 489.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1206, allocations: 11.92 kB / 489.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1206, allocations: 0 / 489.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1206, allocations: 0 / 489.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.1208, allocations: 143.9 kB / 489.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.1212, allocations: 269.5 kB / 490.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1214, allocations: 146.5 kB / 490.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.1215, allocations: 72.83 kB / 490.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.1216, allocations: 35.98 kB / 490.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.1217, allocations: 42.48 kB / 490.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1217, allocations: 0 / 490.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001939/0.1236, allocations: 435.5 kB / 490.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.1237, allocations: 59.34 kB / 490.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1241, allocations: 219 kB / 491.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1241, allocations: 26.08 kB / 491.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1242, allocations: 116.1 kB / 491.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.1243, allocations: 31.72 kB / 491.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1243, allocations: 25.72 kB / 491.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1245, allocations: 334.8 kB / 491.6 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.1246, allocations: 59.97 kB / 491.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/0.1247, allocations: 63.97 kB / 491.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1249, allocations: 132.8 kB / 491.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.1249, allocations: 3.938 kB / 491.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009083/0.1258, allocations: 238.2 kB / 492.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1259, allocations: 4 kB / 492.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1259, allocations: 7.938 kB / 492.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007598/0.1266, allocations: 72.77 kB / 492.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.1267, allocations: 12 kB / 492.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.1293, allocations: 1.558 MB / 493.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1294, allocations: 4.031 kB / 493.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1295, allocations: 0 / 493.8 MB, free: 2.617 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1296, allocations: 135.2 kB / 493.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.1297, allocations: 15.84 kB / 493.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/0.1305, allocations: 263.9 kB / 494.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.1306, allocations: 4 kB / 494.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.1306, allocations: 4 kB / 494.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1306, allocations: 0 / 494.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.1308, allocations: 265.4 kB / 494.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1308, allocations: 0 / 494.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.1309, allocations: 19.94 kB / 494.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00065/0.1316, allocations: 72.77 kB / 494.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.1316, allocations: 8 kB / 494.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.1339, allocations: 1.539 MB / 496.1 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1339, allocations: 3.938 kB / 496.1 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.1348, allocations: 261.7 kB / 496.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.1349, allocations: 93.08 kB / 496.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1349, allocations: 7.938 kB / 496.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.135, allocations: 7.984 kB / 496.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.135, allocations: 7.984 kB / 496.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.135, allocations: 4.188 kB / 496.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.1352, allocations: 164.4 kB / 496.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1352, allocations: 3.938 kB / 496.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.1357, allocations: 83.73 kB / 496.7 MB, free: 15.44 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.1371, allocations: 0.8627 MB / 497.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.1378, allocations: 266.5 kB / 497.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1378, allocations: 0 / 497.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.1382, allocations: 202.6 kB / 498 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1385, allocations: 37.58 kB / 498.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/0.1456, allocations: 2.46 MB / 0.4888 GB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1459, allocations: 0.7242 MB / 0.4895 GB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.542e-05/0.146, allocations: 21.28 kB / 0.4895 GB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.1461, allocations: 39.42 kB / 0.4896 GB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1461, allocations: 0 / 0.4896 GB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.1825, allocations: 5.267 MB / 0.4947 GB, free: 5.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.34, allocations: 7.688 kB / 0.4947 GB, free: 5.562 MB / 366.1 MB " [Timeout remaining time 647] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & python3 -m fmpy simulate --output-file FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.35536050517112] Failed to read output from testmodel.py, exit status != 0: 13.442187089007348 13.46764879 13.343897737 Calling exit ...