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.001718/0.001718, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001765/0.001765, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.008 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.02435/0.02435, allocations: 1.233 MB / 313.7 MB, free: 1.961 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.002081/0.002081, allocations: 67.91 kB / 436 MB, free: 16.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.0963, allocations: 53.64 MB / 489.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002907/0.09921, allocations: 1.566 MB / 491.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1015, allocations: 1.3 MB / 492.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.1015, allocations: 11.88 kB / 492.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.1021, allocations: 151.6 kB / 492.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.1028, allocations: 294.5 kB / 493 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.232e-06/0.1028, allocations: 0 / 493 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.103, allocations: 111.5 kB / 493.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.103, allocations: 9.641 kB / 493.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.1031, allocations: 47.83 kB / 493.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1032, allocations: 71.61 kB / 493.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1033, allocations: 4 kB / 493.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.104, allocations: 0.4911 MB / 493.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.104, allocations: 31.91 kB / 493.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.1041, allocations: 59.59 kB / 493.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.1046, allocations: 346.7 kB / 494.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1046, allocations: 0 / 494.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1046, allocations: 0 / 494.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.1046, allocations: 0 / 494.2 MB, free: 6.242 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.0007019/0.1053, allocations: 420.9 kB / 494.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1053, allocations: 12.03 kB / 494.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.1054, allocations: 38.75 kB / 494.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1054, allocations: 16.84 kB / 494.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1057, allocations: 170.1 kB / 494.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1057, allocations: 8.375 kB / 494.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1057, allocations: 4.359 kB / 494.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1059, allocations: 105.7 kB / 494.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1059, allocations: 3.984 kB / 494.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1059, allocations: 4 kB / 494.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1059, allocations: 3.938 kB / 494.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.1061, allocations: 143.9 kB / 495.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.1064, allocations: 240.5 kB / 495.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1066, allocations: 150.5 kB / 495.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.1067, allocations: 64.83 kB / 495.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/0.1067, allocations: 35.98 kB / 495.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1068, allocations: 42.42 kB / 495.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1068, allocations: 0 / 495.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00185/0.1086, allocations: 366.3 kB / 496 MB, free: 4.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1087, allocations: 55.41 kB / 496 MB, free: 4.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1089, allocations: 215 kB / 496.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1089, allocations: 25.7 kB / 496.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.109, allocations: 116.1 kB / 496.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1091, allocations: 31.75 kB / 496.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.1091, allocations: 29.7 kB / 496.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1093, allocations: 326.8 kB / 496.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.1094, allocations: 59.97 kB / 496.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.1094, allocations: 59.91 kB / 496.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1096, allocations: 132.8 kB / 497 MB, free: 3.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1096, allocations: 3.938 kB / 497 MB, free: 3.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000822/0.1104, allocations: 242.8 kB / 497.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1105, allocations: 4 kB / 497.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1105, allocations: 4 kB / 497.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007509/0.1112, allocations: 80.75 kB / 497.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.1113, allocations: 15.97 kB / 497.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.1137, allocations: 1.455 MB / 498.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.1137, allocations: 0 / 498.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1137, allocations: 4.031 kB / 498.8 MB, free: 1.301 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.0001229/0.1139, allocations: 129.8 kB / 498.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1139, allocations: 19.84 kB / 498.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008803/0.1148, allocations: 271.7 kB / 499.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1148, allocations: 0 / 499.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1148, allocations: 4 kB / 499.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1148, allocations: 0 / 499.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1151, allocations: 232.5 kB / 499.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1151, allocations: 0 / 499.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.1151, allocations: 12 kB / 499.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006538/0.1158, allocations: 72.77 kB / 499.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1158, allocations: 4 kB / 499.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.1178, allocations: 1.443 MB / 0.4892 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1178, allocations: 4.031 kB / 0.4892 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.1187, allocations: 273.7 kB / 0.4895 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.1187, allocations: 19.86 kB / 0.4895 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1187, allocations: 3.938 kB / 0.4895 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.1188, allocations: 0 / 0.4895 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1188, allocations: 19.91 kB / 0.4895 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1188, allocations: 4 kB / 0.4895 GB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.119, allocations: 168.4 kB / 0.4897 GB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.119, allocations: 0 / 0.4897 GB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.1194, allocations: 83.73 kB / 0.4898 GB, free: 14.36 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.001377/0.1208, allocations: 0.8486 MB / 0.4906 GB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006328/0.1214, allocations: 270.5 kB / 0.4909 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1214, allocations: 4 kB / 0.4909 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.1218, allocations: 198.6 kB / 0.491 GB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.1221, allocations: 34.55 kB / 0.4911 GB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.1291, allocations: 2.486 MB / 0.4935 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1295, allocations: 0.7201 MB / 0.4942 GB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.1295, allocations: 12.97 kB / 0.4942 GB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.1296, allocations: 43.42 kB / 0.4943 GB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1296, allocations: 0 / 0.4943 GB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.1674, allocations: 5.313 MB / 0.4995 GB, free: 4.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.7, allocations: 7.203 kB / 0.4995 GB, free: 4.414 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: 15.631719738998072] Failed to read output from testmodel.py, exit status != 0: 12.81887727800131 13.014085141 12.906901286 Calling exit ...