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.001167/0.001167, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001305/0.001305, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8889/0.8889, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.004403/0.004403, allocations: 0.9628 MB / 260.1 MB, free: 12.4 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.944e-06/1.944e-06, allocations: 0 / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.568e-05, allocations: 2.281 kB / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003028/0.003043, allocations: 2.826 MB / 385.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.005328, allocations: 1.32 MB / 386.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.005494, allocations: 11.94 kB / 386.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.005917, allocations: 151 kB / 386.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.006165, allocations: 119 kB / 387 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.006616, allocations: 295 kB / 387.2 MB, free: 9.582 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.006942, allocations: 442.2 kB / 387.7 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.007111, allocations: 87.48 kB / 387.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.007405, allocations: 267.3 kB / 388 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.007559, allocations: 143.5 kB / 388.2 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.007596, allocations: 36 kB / 388.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.007785, allocations: 183.6 kB / 388.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.007881, allocations: 107.6 kB / 388.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.00797, allocations: 123.7 kB / 388.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.008413, allocations: 0.5295 MB / 389.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.008415, allocations: 4 kB / 389.1 MB, free: 7.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008416, allocations: 4 kB / 389.1 MB, free: 7.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008422, allocations: 0 / 389.1 MB, free: 7.676 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.000814/0.009236, allocations: 0.644 MB / 389.8 MB, free: 7.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.009279, allocations: 8.031 kB / 389.8 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.009338, allocations: 74.72 kB / 389.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.009391, allocations: 44.66 kB / 389.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.009713, allocations: 261.1 kB / 390.2 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.009736, allocations: 29.02 kB / 390.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.009774, allocations: 36.31 kB / 390.2 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.01015, allocations: 298.6 kB / 390.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.01017, allocations: 192 / 390.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.01019, allocations: 20.12 kB / 390.5 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.0102, allocations: 8 kB / 390.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.01056, allocations: 274.5 kB / 390.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.01159, allocations: 0.9839 MB / 391.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.01186, allocations: 192.3 kB / 392 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.01197, allocations: 76.81 kB / 392.1 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.012, allocations: 8 kB / 392.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.01203, allocations: 38.56 kB / 392.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.01203, allocations: 0 / 392.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.00187/0.0139, allocations: 0.9066 MB / 393 MB, free: 3.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.01393, allocations: 55.64 kB / 393.1 MB, free: 3.566 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.01415, allocations: 332.4 kB / 393.4 MB, free: 3.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.01416, allocations: 29.7 kB / 393.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01426, allocations: 240.1 kB / 393.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.01431, allocations: 99.16 kB / 393.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.01438, allocations: 70.06 kB / 393.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.01446, allocations: 338.8 kB / 394.1 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.01463, allocations: 116.7 kB / 394.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.01483, allocations: 225.1 kB / 394.5 MB, free: 2.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.01522, allocations: 348.7 kB / 394.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01522, allocations: 0 / 394.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007231/0.01595, allocations: 0.6037 MB / 395.4 MB, free: 1.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01596, allocations: 4.406 kB / 395.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01597, allocations: 4 kB / 395.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/0.01692, allocations: 0.8219 MB / 396.3 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.01709, allocations: 71.89 kB / 396.3 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005061/0.0176, allocations: 1.183 MB / 397.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.01772, allocations: 24.11 kB / 397.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01774, allocations: 19.98 kB / 397.6 MB, free: 14.9 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.0001186/0.01786, allocations: 161.7 kB / 397.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.01789, allocations: 35.77 kB / 397.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/0.01858, allocations: 0.5301 MB / 398.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01858, allocations: 4 kB / 398.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01859, allocations: 0 / 398.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01859, allocations: 0 / 398.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.01884, allocations: 312.6 kB / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01885, allocations: 0 / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.01895, allocations: 43.95 kB / 398.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008444/0.0198, allocations: 0.8147 MB / 399.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01981, allocations: 4 kB / 399.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007147/0.02052, allocations: 1.167 MB / 400.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.02053, allocations: 7.922 kB / 400.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.02116, allocations: 0.5825 MB / 401.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.02119, allocations: 35.86 kB / 401.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.02122, allocations: 8 kB / 401.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.02131, allocations: 15.98 kB / 401.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.02136, allocations: 23.95 kB / 401.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.02137, allocations: 4.125 kB / 401.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.02151, allocations: 223.1 kB / 401.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02151, allocations: 0 / 401.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.02178, 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.0009226/0.0227, allocations: 1.189 MB / 402.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.02321, allocations: 315.8 kB / 403.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02321, allocations: 0 / 403.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.02343, allocations: 160.6 kB / 403.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.02368, allocations: 53.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.003782/0.02747, allocations: 3.796 MB / 407.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.02759, allocations: 186.5 kB / 407.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.076e-05/0.02769, allocations: 34.95 kB / 407.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.02781, allocations: 120.5 kB / 407.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02781, allocations: 4 kB / 407.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1565/0.1843, allocations: 7.872 MB / 415.3 MB, free: 40.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.098, allocations: 6.578 kB / 415.3 MB, free: 40.06 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 & python3 -m fmpy simulate --output-file FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 FluxTubesExtension_FluxTubesExtension_Examples_ToroidalCoreAirgap.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.891853854060173] Failed to read output from testmodel.py, exit status != 0: 8.191687911748886 8.20537871 8.19434619 Calling exit ...