Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.001131/0.001131, 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.001365/0.001365, 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.9426/0.9426, 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.004461/0.004461, allocations: 0.9575 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.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.829e-05, allocations: 2.281 kB / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.002858/0.002886, allocations: 2.67 MB / 385.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.004901, allocations: 1.565 MB / 386.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.005038, allocations: 7.938 kB / 386.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.005591, allocations: 190.9 kB / 386.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.00579, allocations: 107 kB / 387.1 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.00628, allocations: 307 kB / 387.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.006652, allocations: 406.2 kB / 387.7 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.006791, allocations: 70.05 kB / 387.8 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.007028, allocations: 219.5 kB / 388 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.007172, allocations: 123.6 kB / 388.2 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.007203, allocations: 32 kB / 388.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.007434, allocations: 179.6 kB / 388.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.007503, allocations: 79.72 kB / 388.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.007578, allocations: 111.7 kB / 388.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.007989, allocations: 470.5 kB / 389 MB, free: 7.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.007994, allocations: 4 kB / 389 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.007995, allocations: 0 / 389 MB, free: 7.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.008, allocations: 0 / 389 MB, free: 7.797 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007582/0.008759, allocations: 0.5899 MB / 389.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.008801, allocations: 11.97 kB / 389.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.008856, allocations: 62.72 kB / 389.7 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.008984, allocations: 52.64 kB / 389.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.009299, allocations: 224.7 kB / 389.9 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.009321, allocations: 21.03 kB / 390 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.009354, allocations: 32.31 kB / 390 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.009728, allocations: 296.3 kB / 390.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.009738, allocations: 192 / 390.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.009758, allocations: 16.12 kB / 390.3 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.009765, allocations: 8 kB / 390.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.01006, allocations: 242.5 kB / 390.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01112, allocations: 0.9375 MB / 391.5 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.01142, allocations: 236.2 kB / 391.7 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.0116, allocations: 116.8 kB / 391.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.01165, allocations: 20 kB / 391.8 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.01168, allocations: 42.55 kB / 391.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.01168, allocations: 0 / 391.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002875/0.01455, allocations: 1.464 MB / 393.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.01459, allocations: 59.39 kB / 393.4 MB, free: 3.191 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.0148, allocations: 288.1 kB / 393.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.01482, allocations: 33.7 kB / 393.7 MB, free: 2.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.01491, allocations: 196.5 kB / 393.9 MB, free: 2.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.01497, allocations: 126.9 kB / 394 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.01503, allocations: 69.64 kB / 394.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.01512, allocations: 342.8 kB / 394.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.01527, allocations: 119.9 kB / 394.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.01543, allocations: 164.5 kB / 394.7 MB, free: 1.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.01575, allocations: 298.1 kB / 395 MB, free: 1.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01575, allocations: 4 kB / 395 MB, free: 1.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008864/0.01664, allocations: 0.633 MB / 395.6 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01665, allocations: 8 kB / 395.7 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01666, allocations: 3.938 kB / 395.7 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.01794, allocations: 0.5246 MB / 396.2 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.0181, allocations: 55.97 kB / 396.2 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006904/0.01879, allocations: 1.292 MB / 397.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.01889, allocations: 12 kB / 397.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.01891, allocations: 12 kB / 397.6 MB, free: 14.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.01906, allocations: 165.8 kB / 397.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.01911, allocations: 27.81 kB / 397.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.02006, allocations: 0.5798 MB / 398.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.02007, allocations: 8 kB / 398.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.02008, allocations: 0 / 398.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.02008, allocations: 0 / 398.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.02138, allocations: 1 MB / 399.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.02138, allocations: 0 / 399.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.0215, allocations: 43.97 kB / 399.4 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.02296, allocations: 0.5246 MB / 399.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.02298, allocations: 4 kB / 399.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006599/0.02364, allocations: 1.28 MB / 401.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02364, allocations: 0 / 401.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.02467, allocations: 0.8078 MB / 402 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.02472, allocations: 31.77 kB / 402 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.02474, allocations: 7.984 kB / 402 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.02483, allocations: 16 kB / 402 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.02488, allocations: 27.83 kB / 402.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.0249, allocations: 12 kB / 402.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.02504, allocations: 203.1 kB / 402.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02504, allocations: 4.062 kB / 402.3 MB, free: 10 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.02534, allocations: 95.88 kB / 402.4 MB, free: 9.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.02659, allocations: 1.38 MB / 403.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.02711, allocations: 311.7 kB / 404.1 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02711, allocations: 3.938 kB / 404.1 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.02732, allocations: 184.1 kB / 404.2 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.02762, allocations: 37.41 kB / 404.3 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.03167, allocations: 3.727 MB / 408 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.0318, allocations: 181.6 kB / 408.2 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.841e-05/0.03188, allocations: 22.28 kB / 408.2 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.03198, allocations: 112.5 kB / 408.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.03198, allocations: 0 / 408.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/0.1876, allocations: 7.396 MB / 415.7 MB, free: 40.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.302, allocations: 8.812 kB / 415.7 MB, free: 40.46 MB / 330.7 MB " [Timeout remaining time 652] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor.fmu > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.186352000571787] Failed to read output from testmodel.py, exit status != 0: 8.394807126373053 8.409052923 8.398513579 Calling exit ...