Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.0007516/0.0007516, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.000787/0.000787, allocations: 165.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8842/0.8842, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.004563/0.004563, allocations: 0.9562 MB / 260.1 MB, free: 12.39 MB / 250.7 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.ToroidalCoreAirgap,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ToroidalCoreAirgap,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.502e-05, allocations: 6.219 kB / 382.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003221/0.003246, allocations: 2.829 MB / 385.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.005306, allocations: 1.331 MB / 386.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.005445, allocations: 4 kB / 386.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.005864, allocations: 143 kB / 386.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.006115, allocations: 122.9 kB / 387 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.00659, allocations: 287 kB / 387.2 MB, free: 9.586 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.006925, allocations: 446.1 kB / 387.7 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.007086, allocations: 95.45 kB / 387.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.00737, allocations: 259.4 kB / 388 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.007528, allocations: 143.5 kB / 388.2 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.007564, allocations: 36 kB / 388.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.007768, allocations: 199.5 kB / 388.4 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.007853, allocations: 91.67 kB / 388.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.00794, allocations: 131.7 kB / 388.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006476/0.008588, allocations: 0.5295 MB / 389.1 MB, free: 7.676 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.008591, allocations: 4 kB / 389.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008592, allocations: 0 / 389.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.008597, allocations: 0 / 389.1 MB, free: 7.672 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0007758/0.009373, allocations: 0.6366 MB / 389.8 MB, free: 7.008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.009408, allocations: 8.031 kB / 389.8 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.009461, allocations: 70.72 kB / 389.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.009509, allocations: 44.66 kB / 389.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.009818, allocations: 261.1 kB / 390.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.00984, allocations: 28.97 kB / 390.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.009875, allocations: 32.31 kB / 390.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.01024, allocations: 310.5 kB / 390.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01025, allocations: 192 / 390.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.01027, allocations: 16.12 kB / 390.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.01028, allocations: 8 kB / 390.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.01065, allocations: 270.5 kB / 390.8 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.01171, allocations: 0.984 MB / 391.8 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.01198, allocations: 190.4 kB / 392 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.0121, allocations: 76.91 kB / 392 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.01214, allocations: 19.98 kB / 392.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.01216, allocations: 34.56 kB / 392.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.01216, allocations: 0 / 392.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001619/0.01378, allocations: 0.91 MB / 393 MB, free: 3.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.01381, allocations: 55.64 kB / 393.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.01403, allocations: 332.4 kB / 393.4 MB, free: 3.234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.01405, allocations: 25.7 kB / 393.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.01415, allocations: 244.1 kB / 393.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.0142, allocations: 95.17 kB / 393.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.01427, allocations: 66.08 kB / 393.8 MB, free: 2.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.01448, allocations: 342.8 kB / 394.1 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.01466, allocations: 120.7 kB / 394.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01487, allocations: 213.2 kB / 394.5 MB, free: 2.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.01527, allocations: 352.6 kB / 394.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01527, allocations: 7.938 kB / 394.8 MB, free: 1.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007792/0.01605, allocations: 0.608 MB / 395.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01606, allocations: 4 kB / 395.4 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01607, allocations: 4 kB / 395.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/0.01705, allocations: 0.8149 MB / 396.3 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.01722, allocations: 75.89 kB / 396.3 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005567/0.01778, allocations: 1.179 MB / 397.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.0179, allocations: 19.98 kB / 397.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01791, allocations: 16 kB / 397.5 MB, free: 14.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.01804, allocations: 173.7 kB / 397.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.0181, allocations: 35.77 kB / 397.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/0.01879, allocations: 0.5183 MB / 398.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.01879, allocations: 4 kB / 398.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.0188, allocations: 0 / 398.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0188, allocations: 4 kB / 398.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.01906, allocations: 312.6 kB / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01907, allocations: 128 / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01917, allocations: 47.91 kB / 398.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008602/0.02003, allocations: 0.8175 MB / 399.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.02004, allocations: 4 kB / 399.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005497/0.02059, allocations: 1.167 MB / 400.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02059, allocations: 3.938 kB / 400.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.02125, allocations: 0.5904 MB / 401.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.02129, allocations: 35.73 kB / 401.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.02131, allocations: 4 kB / 401.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.02141, allocations: 15.98 kB / 401.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.02146, allocations: 19.97 kB / 401.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.02147, allocations: 7.984 kB / 401.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.02162, allocations: 219.1 kB / 401.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02162, allocations: 4 kB / 401.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.02187, allocations: 103.9 kB / 401.6 MB, free: 10.7 MB / 330.7 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009616/0.02284, allocations: 1.176 MB / 402.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005217/0.02336, allocations: 319.9 kB / 403.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02336, allocations: 4.75 kB / 403.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.02379, allocations: 163.8 kB / 403.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.02407, allocations: 49.06 kB / 403.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.02759, allocations: 3.794 MB / 407.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.02771, allocations: 194.4 kB / 407.3 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.777e-05/0.0278, allocations: 34.95 kB / 407.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.02791, allocations: 120.5 kB / 407.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02791, allocations: 0 / 407.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/0.1778, allocations: 7.878 MB / 415.3 MB, free: 40.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.216, allocations: 2.188 kB / 415.3 MB, free: 40.12 MB / 330.7 MB " [Timeout remaining time 652] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.903660426847637] Failed to read output from testmodel.py, exit status != 0: 8.305543667636812 8.320124309 8.309153093 Calling exit ...