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.001257/0.001257, allocations: 97.92 kB / 19.73 MB, free: 1.992 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.001413/0.001413, allocations: 213.7 kB / 23.02 MB, free: 4.426 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.01717/0.01717, allocations: 1.237 MB / 314.5 MB, free: 1.762 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="cs",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.001911/0.001911, allocations: 63.91 kB / 436.8 MB, free: 16.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09772, allocations: 53.64 MB / 490.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003079/0.1008, allocations: 1.53 MB / 491.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1031, allocations: 1.166 MB / 493.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1032, allocations: 0 / 493.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.1038, allocations: 147.6 kB / 493.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008553/0.1046, allocations: 283 kB / 493.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.104e-05/0.1046, allocations: 0 / 493.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1048, allocations: 107.5 kB / 493.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.1049, allocations: 5.641 kB / 493.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.1049, allocations: 51.83 kB / 493.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1051, allocations: 71.61 kB / 493.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1051, allocations: 4 kB / 493.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.1058, allocations: 395.1 kB / 494.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.1059, allocations: 31.89 kB / 494.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.1059, allocations: 39.67 kB / 494.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.1065, allocations: 326.8 kB / 494.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1065, allocations: 3.938 kB / 494.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1065, allocations: 4 kB / 494.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1065, allocations: 0 / 494.5 MB, free: 6.383 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.0008172/0.1073, allocations: 420.9 kB / 494.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1074, allocations: 8.031 kB / 494.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/0.1074, allocations: 4.188 kB / 495 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.1074, allocations: 42.69 kB / 495 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.1075, allocations: 16.84 kB / 495 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1078, allocations: 178.1 kB / 495.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1078, allocations: 4.359 kB / 495.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1078, allocations: 8.375 kB / 495.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.108, allocations: 105.6 kB / 495.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.108, allocations: 3.938 kB / 495.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.108, allocations: 0 / 495.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.108, allocations: 4 kB / 495.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1082, allocations: 139.9 kB / 495.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.1085, allocations: 228.6 kB / 495.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1087, allocations: 146.5 kB / 495.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.1088, allocations: 73.05 kB / 495.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/0.1089, allocations: 39.84 kB / 495.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1089, allocations: 42.56 kB / 496 MB, free: 4.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.041e-06/0.1089, allocations: 0 / 496 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001893/0.1108, allocations: 358.2 kB / 496.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1109, allocations: 51.78 kB / 496.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1111, allocations: 219 kB / 496.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1111, allocations: 25.7 kB / 496.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.1112, allocations: 116.1 kB / 496.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1113, allocations: 31.69 kB / 496.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.1113, allocations: 29.7 kB / 496.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1115, allocations: 330.8 kB / 497.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.1116, allocations: 59.97 kB / 497.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.1116, allocations: 59.91 kB / 497.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1118, allocations: 136.8 kB / 497.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1118, allocations: 0 / 497.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008586/0.1127, allocations: 246.2 kB / 497.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.1127, allocations: 4 kB / 497.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1127, allocations: 0 / 497.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007675/0.1135, allocations: 72.77 kB / 497.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.1135, allocations: 11.98 kB / 497.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.1158, allocations: 1.447 MB / 499.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.1159, allocations: 0 / 499.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1159, allocations: 7.984 kB / 499.1 MB, free: 1.461 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.0001206/0.116, allocations: 129.1 kB / 499.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.116, allocations: 23.83 kB / 499.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009239/0.117, allocations: 271.7 kB / 499.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.117, allocations: 4 kB / 499.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.117, allocations: 3.938 kB / 499.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.117, allocations: 0 / 499.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1172, allocations: 228.6 kB / 499.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1172, allocations: 0 / 499.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.1173, allocations: 11.98 kB / 499.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006911/0.118, allocations: 72.78 kB / 499.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.118, allocations: 4 kB / 499.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.12, allocations: 1.428 MB / 0.4895 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.12, allocations: 7.969 kB / 0.4895 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008529/0.1209, allocations: 265.8 kB / 0.4898 GB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.1209, allocations: 15.86 kB / 0.4898 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1209, allocations: 7.938 kB / 0.4898 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.121, allocations: 4.188 kB / 0.4898 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.121, allocations: 11.97 kB / 0.4898 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.121, allocations: 7.938 kB / 0.4898 GB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1212, allocations: 168.3 kB / 0.49 GB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1212, allocations: 0 / 0.49 GB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003798/0.1216, allocations: 87.73 kB / 0.4901 GB, free: 14.54 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.00139/0.123, allocations: 0.8471 MB / 0.4909 GB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.1236, allocations: 274.5 kB / 0.4912 GB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1236, allocations: 0 / 0.4912 GB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.124, allocations: 190.6 kB / 0.4914 GB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1243, allocations: 34.05 kB / 0.4914 GB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.1314, allocations: 2.483 MB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.1315, allocations: 109.5 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.223e-05/0.1316, allocations: 21.38 kB / 0.4939 GB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.1317, allocations: 39.42 kB / 0.494 GB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1317, allocations: 0 / 0.494 GB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.1633, allocations: 5.637 MB / 0.4995 GB, free: 4.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.03, allocations: 8.047 kB / 0.4995 GB, free: 4.906 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.969343967037275] Failed to read output from testmodel.py, exit status != 0: 13.21544432209339 13.438436308 13.329224302 Calling exit ...