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.00128/0.00128, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00153/0.00153, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.984 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.01872/0.01872, allocations: 1.23 MB / 313.7 MB, free: 1.969 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.001907/0.001907, allocations: 67.89 kB / 436.1 MB, free: 16.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1082, allocations: 53.64 MB / 489.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003973/0.1122, allocations: 1.566 MB / 491.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.1149, allocations: 1.314 MB / 492.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.115, allocations: 3.938 kB / 492.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.1157, allocations: 155.6 kB / 492.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009993/0.1167, allocations: 282.9 kB / 493 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.084e-05/0.1167, allocations: 4 kB / 493 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1169, allocations: 111.5 kB / 493.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.117, allocations: 5.641 kB / 493.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.926e-05/0.1171, allocations: 43.83 kB / 493.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1173, allocations: 71.61 kB / 493.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1173, allocations: 8 kB / 493.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009736/0.1183, allocations: 0.495 MB / 493.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.1183, allocations: 27.91 kB / 493.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.1184, allocations: 55.61 kB / 493.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.1191, allocations: 350.7 kB / 494.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1191, allocations: 4 kB / 494.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1191, allocations: 0 / 494.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1191, allocations: 0 / 494.2 MB, free: 6.238 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.0009411/0.1201, allocations: 420.9 kB / 494.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1201, allocations: 8.031 kB / 494.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.1202, allocations: 38.75 kB / 494.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.1202, allocations: 16.83 kB / 494.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1206, allocations: 174.1 kB / 494.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1206, allocations: 8.375 kB / 494.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1206, allocations: 4.375 kB / 494.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1209, allocations: 105.7 kB / 494.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1209, allocations: 3.938 kB / 494.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1209, allocations: 8 kB / 494.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1209, allocations: 0 / 494.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.1212, allocations: 143.9 kB / 495.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1215, allocations: 236.5 kB / 495.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1218, allocations: 158.5 kB / 495.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1219, allocations: 68.77 kB / 495.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.1221, allocations: 39.97 kB / 495.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1221, allocations: 34.5 kB / 495.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1221, allocations: 0 / 495.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001833/0.1239, allocations: 362.3 kB / 496 MB, free: 4.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.124, allocations: 51.41 kB / 496 MB, free: 4.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.1242, allocations: 219 kB / 496.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1243, allocations: 29.7 kB / 496.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.1243, allocations: 112.1 kB / 496.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.1244, allocations: 31.73 kB / 496.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.1244, allocations: 25.7 kB / 496.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1246, allocations: 334.8 kB / 496.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.1247, allocations: 63.91 kB / 496.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.1247, allocations: 55.97 kB / 496.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1249, allocations: 132.8 kB / 497 MB, free: 3.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1249, allocations: 3.938 kB / 497 MB, free: 3.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008071/0.1257, allocations: 238.8 kB / 497.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1258, allocations: 8 kB / 497.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1258, allocations: 4.031 kB / 497.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007151/0.1265, allocations: 72.7 kB / 497.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.1265, allocations: 15.94 kB / 497.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.1287, allocations: 1.454 MB / 498.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.1287, allocations: 4.094 kB / 498.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1288, allocations: 8 kB / 498.8 MB, free: 1.297 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.0001278/0.1289, allocations: 133.7 kB / 498.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1289, allocations: 19.84 kB / 498.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008781/0.1298, allocations: 267.7 kB / 499.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1298, allocations: 3.984 kB / 499.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1298, allocations: 0 / 499.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1298, allocations: 0 / 499.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1301, allocations: 236.5 kB / 499.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1301, allocations: 4 kB / 499.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1301, allocations: 8 kB / 499.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/0.1308, allocations: 76.77 kB / 499.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1308, allocations: 96 / 499.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.1328, allocations: 1.443 MB / 0.4892 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.1328, allocations: 7.922 kB / 0.4892 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/0.1336, allocations: 261.8 kB / 0.4895 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.1337, allocations: 15.86 kB / 0.4895 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1337, allocations: 3.938 kB / 0.4895 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.1337, allocations: 8 kB / 0.4895 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1338, allocations: 15.91 kB / 0.4895 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.1338, allocations: 0 / 0.4895 GB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.134, allocations: 164.4 kB / 0.4897 GB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.134, allocations: 0 / 0.4897 GB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004211/0.1344, allocations: 87.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.001385/0.1358, allocations: 0.8588 MB / 0.4906 GB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.1364, allocations: 266.5 kB / 0.4909 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1364, allocations: 0 / 0.4909 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.1367, allocations: 206.6 kB / 0.4911 GB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.137, allocations: 28.05 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.006253/0.1433, allocations: 2.481 MB / 0.4935 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1436, allocations: 0.7201 MB / 0.4942 GB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.1437, allocations: 20.98 kB / 0.4942 GB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.1438, allocations: 43.42 kB / 0.4943 GB, free: 9.582 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1438, allocations: 3.938 kB / 0.4943 GB, free: 9.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/0.1877, allocations: 5.309 MB / 0.4995 GB, free: 4.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.51, allocations: 3.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.168563373852521] Failed to read output from testmodel.py, exit status != 0: 12.624816593946889 12.815340141 12.693440111 Calling exit ...