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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.02141/0.02141, allocations: 1.246 MB / 303.9 MB, free: 8.734 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 422.4 MB, free: 24.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09627, allocations: 52.42 MB / 474.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003224/0.0995, allocations: 1.548 MB / 476.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1018, allocations: 1.273 MB / 477.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.1019, allocations: 3.938 kB / 477.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.1025, allocations: 147.7 kB / 477.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008357/0.1034, allocations: 262.8 kB / 478 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.013e-06/0.1034, allocations: 3.938 kB / 478 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1035, allocations: 107.5 kB / 478.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.1036, allocations: 5.453 kB / 478.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1037, allocations: 55.7 kB / 478.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1039, allocations: 67.73 kB / 478.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1039, allocations: 4 kB / 478.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.1046, allocations: 447 kB / 478.7 MB, free: 308 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.1047, allocations: 35.83 kB / 478.7 MB, free: 272 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.1047, allocations: 59.55 kB / 478.8 MB, free: 212 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.1053, allocations: 334.9 kB / 479.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1053, allocations: 0 / 479.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1053, allocations: 0 / 479.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1053, allocations: 0 / 479.1 MB, free: 15.88 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.0009011/0.1062, allocations: 0.4902 MB / 479.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1062, allocations: 8.031 kB / 479.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.1063, allocations: 42.73 kB / 479.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.1064, allocations: 16.84 kB / 479.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1067, allocations: 239.8 kB / 479.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1067, allocations: 384 / 479.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1067, allocations: 8.375 kB / 479.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1069, allocations: 105.7 kB / 480 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1069, allocations: 4 kB / 480 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.107, allocations: 0 / 480 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.107, allocations: 4 kB / 480 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1072, allocations: 147.9 kB / 480.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.1076, allocations: 261.5 kB / 480.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.1078, allocations: 154.5 kB / 480.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/0.1079, allocations: 64.83 kB / 480.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.108, allocations: 43.91 kB / 480.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.108, allocations: 38.5 kB / 480.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.108, allocations: 4 kB / 480.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001877/0.1099, allocations: 439.4 kB / 481.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.11, allocations: 51.41 kB / 481.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1102, allocations: 216.2 kB / 481.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1102, allocations: 29.64 kB / 481.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.1103, allocations: 120.1 kB / 481.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.1103, allocations: 31.72 kB / 481.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.1104, allocations: 25.7 kB / 481.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1105, allocations: 326.8 kB / 481.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.1106, allocations: 59.97 kB / 482 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.1107, allocations: 59.97 kB / 482 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1109, allocations: 132.8 kB / 482.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1109, allocations: 4.5 kB / 482.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007964/0.1117, allocations: 242.2 kB / 482.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1117, allocations: 6.188 kB / 482.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1117, allocations: 0 / 482.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.1125, allocations: 76.72 kB / 482.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.1125, allocations: 15.98 kB / 482.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.1149, allocations: 1.547 MB / 484.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.115, allocations: 7.984 kB / 484.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.115, allocations: 3.984 kB / 484.1 MB, free: 10.51 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.0001299/0.1151, allocations: 129.8 kB / 484.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.1151, allocations: 15.84 kB / 484.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/0.116, allocations: 263.8 kB / 484.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.116, allocations: 4 kB / 484.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.116, allocations: 3.938 kB / 484.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.116, allocations: 0 / 484.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.1163, allocations: 265.6 kB / 484.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1163, allocations: 0 / 484.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.1164, allocations: 27.92 kB / 484.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006341/0.117, allocations: 64.72 kB / 484.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.117, allocations: 8 kB / 484.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.1191, allocations: 1.539 MB / 486.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1191, allocations: 3.938 kB / 486.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.1199, allocations: 265.8 kB / 486.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.12, allocations: 93 kB / 486.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.12, allocations: 7.938 kB / 486.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1201, allocations: 4 kB / 486.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1201, allocations: 11.98 kB / 486.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.1201, allocations: 4 kB / 486.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1203, allocations: 167.3 kB / 486.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1203, allocations: 0 / 486.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.1206, allocations: 79.75 kB / 487 MB, free: 7.336 MB / 350.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.001366/0.122, allocations: 0.8627 MB / 487.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006225/0.1226, allocations: 262.5 kB / 488.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1226, allocations: 8 kB / 488.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.123, allocations: 202.9 kB / 488.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1233, allocations: 24.17 kB / 488.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.1301, allocations: 2.475 MB / 490.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1305, allocations: 0.7279 MB / 491.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.848e-05/0.1306, allocations: 20.86 kB / 491.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.1307, allocations: 39.42 kB / 491.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1307, allocations: 0 / 491.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04347/0.1741, allocations: 5.249 MB / 496.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.9, allocations: 12.44 kB / 496.9 MB, free: 13.46 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.540128731168807] Failed to read output from testmodel.py, exit status != 0: 11.987970143090934 12.009538031 11.900291851 Calling exit ...