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.001335/0.001335, 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.001893/0.001893, allocations: 215.2 kB / 22.25 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.01561/0.01561, allocations: 1.238 MB / 313.7 MB, free: 1.84 MB / 238.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 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.002065/0.002065, allocations: 67.84 kB / 436 MB, free: 16.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1095, allocations: 53.64 MB / 489.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002989/0.1125, allocations: 1.528 MB / 491.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1145, allocations: 1.174 MB / 492.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.1146, allocations: 3.938 kB / 492.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.1151, allocations: 139.7 kB / 492.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008157/0.116, allocations: 281.2 kB / 492.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.913e-06/0.116, allocations: 3.938 kB / 492.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1161, allocations: 99.56 kB / 492.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.1162, allocations: 9.625 kB / 492.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.1163, allocations: 47.78 kB / 492.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1165, allocations: 71.61 kB / 493 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1165, allocations: 8 kB / 493 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.1171, allocations: 359.1 kB / 493.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.1172, allocations: 39.83 kB / 493.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.1173, allocations: 39.67 kB / 493.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.1178, allocations: 326.8 kB / 493.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1178, allocations: 0 / 493.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1178, allocations: 3.938 kB / 493.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1178, allocations: 0 / 493.7 MB, free: 6.289 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.0009273/0.1188, allocations: 420.9 kB / 494.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1188, allocations: 8.031 kB / 494.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.1189, allocations: 38.73 kB / 494.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1189, allocations: 12.84 kB / 494.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1192, allocations: 182 kB / 494.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1193, allocations: 384 / 494.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.1193, allocations: 4.375 kB / 494.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.1195, allocations: 109.8 kB / 494.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1195, allocations: 0 / 494.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1195, allocations: 0 / 494.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1195, allocations: 0 / 494.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1197, allocations: 147.9 kB / 494.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.12, allocations: 228.5 kB / 494.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1203, allocations: 146.5 kB / 495 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1204, allocations: 72.81 kB / 495.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.709e-05/0.1205, allocations: 39.91 kB / 495.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1205, allocations: 38.5 kB / 495.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.1205, allocations: 0 / 495.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001717/0.1222, allocations: 370.4 kB / 495.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1223, allocations: 51.41 kB / 495.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1225, allocations: 219 kB / 495.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1225, allocations: 26.08 kB / 495.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.1226, allocations: 116.1 kB / 495.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1227, allocations: 31.73 kB / 495.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1227, allocations: 17.72 kB / 496 MB, free: 3.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1229, allocations: 338.8 kB / 496.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.123, allocations: 59.97 kB / 496.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.14e-05/0.1231, allocations: 55.97 kB / 496.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1233, allocations: 144.7 kB / 496.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1233, allocations: 3.938 kB / 496.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007521/0.124, allocations: 230.2 kB / 496.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.124, allocations: 8 kB / 496.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.124, allocations: 0 / 496.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.1247, allocations: 76.77 kB / 496.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.1248, allocations: 8 kB / 496.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.127, allocations: 1.447 MB / 498.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.1271, allocations: 8.016 kB / 498.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1271, allocations: 8.125 kB / 498.3 MB, free: 1.371 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.0001149/0.1272, allocations: 125.8 kB / 498.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1272, allocations: 19.84 kB / 498.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008221/0.1281, allocations: 263.9 kB / 498.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1281, allocations: 0 / 498.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1281, allocations: 0 / 498.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1281, allocations: 4 kB / 498.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1283, allocations: 220.6 kB / 498.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1283, allocations: 7.984 kB / 498.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.1283, allocations: 15.88 kB / 499 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.1289, allocations: 68.78 kB / 499 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1289, allocations: 7.984 kB / 499 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.1309, allocations: 1.435 MB / 0.4887 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1309, allocations: 3.938 kB / 0.4887 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.1317, allocations: 261.7 kB / 0.489 GB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.1317, allocations: 15.95 kB / 0.489 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1317, allocations: 11.94 kB / 0.489 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.1318, allocations: 4 kB / 0.489 GB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1318, allocations: 11.97 kB / 0.489 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1318, allocations: 192 / 0.489 GB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.132, allocations: 164.4 kB / 0.4892 GB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.132, allocations: 3.938 kB / 0.4892 GB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.1324, allocations: 83.73 kB / 0.4893 GB, free: 14.46 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.001254/0.1336, allocations: 0.8693 MB / 0.4901 GB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.1342, allocations: 258.6 kB / 0.4904 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1342, allocations: 0 / 0.4904 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.1346, allocations: 206.6 kB / 0.4906 GB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1348, allocations: 22.22 kB / 0.4906 GB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.1411, allocations: 2.483 MB / 0.493 GB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.1412, allocations: 109.5 kB / 0.4931 GB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.1413, allocations: 21.39 kB / 0.4931 GB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.1413, allocations: 35.42 kB / 0.4932 GB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1413, allocations: 0 / 0.4932 GB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.1792, allocations: 5.985 MB / 0.499 GB, free: 4.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.18, allocations: 14.41 kB / 0.499 GB, free: 4.465 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.179148382041603] Failed to read output from testmodel.py, exit status != 0: 13.29265224840492 13.529728837 13.409078929 Calling exit ...