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.0008951/0.0008951, 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.001013/0.001013, allocations: 169.9 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.9142/0.9142, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.004541/0.004541, allocations: 0.958 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.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 1.483e-06/1.483e-06, allocations: 0 / 382.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.502e-05, allocations: 10.16 kB / 382.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.001749/0.001764, allocations: 1.535 MB / 384.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.003017, allocations: 1.168 MB / 385.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.00307, allocations: 0 / 385.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.003488, allocations: 151.2 kB / 385.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.003873, allocations: 278.3 kB / 385.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.199e-06/0.003878, allocations: 0 / 385.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003984, allocations: 115.4 kB / 385.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.004029, allocations: 9.641 kB / 385.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.004097, allocations: 59.81 kB / 385.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.004215, allocations: 55.8 kB / 385.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.004227, allocations: 7.938 kB / 385.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.004582, allocations: 363 kB / 386.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.004631, allocations: 35.84 kB / 386.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.004663, allocations: 27.92 kB / 386.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.004986, allocations: 346.8 kB / 386.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004989, allocations: 0 / 386.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004989, allocations: 0 / 386.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.004999, allocations: 4 kB / 386.7 MB, free: 10.17 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000474/0.005473, allocations: 420.2 kB / 387.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.005509, allocations: 8.031 kB / 387.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.00554, allocations: 34.75 kB / 387.1 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.005572, allocations: 16.84 kB / 387.1 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.005751, allocations: 177.2 kB / 387.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.005761, allocations: 4.375 kB / 387.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.005773, allocations: 8.312 kB / 387.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.005893, allocations: 106.1 kB / 387.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005901, allocations: 192 / 387.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.005914, allocations: 8.125 kB / 387.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005918, allocations: 4 kB / 387.4 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.006051, allocations: 139.9 kB / 387.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.006241, allocations: 228.6 kB / 387.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.006614, allocations: 146.5 kB / 387.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.006674, allocations: 64.83 kB / 388 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.006743, allocations: 39.92 kB / 388 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.006763, allocations: 30.56 kB / 388.1 MB, free: 8.633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.006764, allocations: 0 / 388.1 MB, free: 8.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009615/0.007725, allocations: 374.3 kB / 388.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.00776, allocations: 59.34 kB / 388.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.007908, allocations: 219 kB / 388.7 MB, free: 7.965 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.007923, allocations: 29.7 kB / 388.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.007971, allocations: 112.1 kB / 388.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.008003, allocations: 27.75 kB / 388.9 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.008035, allocations: 25.7 kB / 388.9 MB, free: 7.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.008112, allocations: 330.8 kB / 389.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.008165, allocations: 55.97 kB / 389.3 MB, free: 7.371 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.008215, allocations: 68.33 kB / 389.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.008332, allocations: 132.9 kB / 389.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.008335, allocations: 4 kB / 389.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003916/0.008727, allocations: 246.2 kB / 389.7 MB, free: 6.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008739, allocations: 9.719 kB / 389.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.008743, allocations: 0 / 389.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/0.009093, allocations: 68.78 kB / 389.8 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.009142, allocations: 15.98 kB / 389.8 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.01036, allocations: 1.447 MB / 391.2 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.0104, allocations: 4.031 kB / 391.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.0104, allocations: 0 / 391.2 MB, free: 5.262 MB / 314.7 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 8.187e-05/0.01049, allocations: 129.8 kB / 391.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.0105, allocations: 11.91 kB / 391.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.01093, allocations: 275.8 kB / 391.7 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01094, allocations: 4 kB / 391.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01094, allocations: 0 / 391.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01094, allocations: 0 / 391.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.01108, allocations: 220.6 kB / 391.9 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01109, allocations: 0 / 391.9 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.01111, allocations: 19.92 kB / 391.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.0114, allocations: 76.72 kB / 392 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01141, allocations: 3.938 kB / 392 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.01248, allocations: 1.432 MB / 393.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01249, allocations: 7.922 kB / 393.4 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.01287, allocations: 265.8 kB / 393.7 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.01289, allocations: 27.84 kB / 393.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.0129, allocations: 0 / 393.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.01293, allocations: 0 / 393.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.01295, allocations: 11.92 kB / 393.7 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.01296, allocations: 11.98 kB / 393.7 MB, free: 2.582 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.681e-05/0.01306, allocations: 164.4 kB / 393.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01306, allocations: 0 / 393.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000228/0.01328, allocations: 79.75 kB / 394 MB, free: 2.344 MB / 314.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 (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.00068/0.01396, allocations: 0.859 MB / 394.8 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005936/0.01456, allocations: 270.5 kB / 395.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01456, allocations: 0 / 395.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.01473, allocations: 202.6 kB / 395.3 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.01492, allocations: 24.94 kB / 395.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.01806, allocations: 2.472 MB / 397.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.01813, allocations: 117.4 kB / 397.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.939e-05/0.01817, allocations: 17.39 kB / 397.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.01822, allocations: 40.48 kB / 397.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01822, allocations: 0 / 397.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.03767, allocations: 6.099 MB / 404 MB, free: 8.227 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.062, allocations: 4.062 kB / 404 MB, free: 8.223 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.156001006253064] Failed to read output from testmodel.py, exit status != 0: 8.15567558631301 8.321723957 8.314100985 Calling exit ...