Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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.0007748/0.0007748, 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/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.932/0.932, allocations: 177.2 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001082/0.001082, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02314/0.02314, allocations: 6.667 MB / 319 MB, free: 26.76 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.257e-05, allocations: 2.281 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.002973/0.003005, allocations: 3.529 MB / 448.9 MB, free: 34.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.00443, allocations: 0.9579 MB / 449.9 MB, free: 33.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.004683, allocations: 11.94 kB / 449.9 MB, free: 33.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.004856, allocations: 83.16 kB / 450 MB, free: 33.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.005201, allocations: 170.5 kB / 450.1 MB, free: 32.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.005529, allocations: 179.7 kB / 450.3 MB, free: 32.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.005909, allocations: 0.6732 MB / 451 MB, free: 32.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.006139, allocations: 181.4 kB / 451.1 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.006455, allocations: 407.2 kB / 451.5 MB, free: 31.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.006628, allocations: 199.4 kB / 451.7 MB, free: 31.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.006676, allocations: 68 kB / 451.8 MB, free: 31.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.527e-05/0.006751, allocations: 72 kB / 451.9 MB, free: 31.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.006796, allocations: 135.5 kB / 452 MB, free: 30.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.006893, allocations: 215.4 kB / 452.2 MB, free: 30.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.007308, allocations: 0.7556 MB / 453 MB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.007312, allocations: 0 / 453 MB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007313, allocations: 0 / 453 MB, free: 30 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.007321, allocations: 0 / 453 MB, free: 30 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.000813/0.008134, allocations: 0.7663 MB / 453.7 MB, free: 29.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.008177, allocations: 12.03 kB / 453.8 MB, free: 29.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.008234, allocations: 94.7 kB / 453.8 MB, free: 29.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.008381, allocations: 72.55 kB / 453.9 MB, free: 29.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.008766, allocations: 313.6 kB / 454.2 MB, free: 28.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.008793, allocations: 37.69 kB / 454.3 MB, free: 28.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.008838, allocations: 48.38 kB / 454.3 MB, free: 28.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.009359, allocations: 0.5944 MB / 454.9 MB, free: 27.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.009371, allocations: 4.188 kB / 454.9 MB, free: 27.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.009399, allocations: 24.12 kB / 454.9 MB, free: 27.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.009408, allocations: 16 kB / 454.9 MB, free: 27.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.009852, allocations: 387.7 kB / 455.3 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.01126, allocations: 1.7 MB / 457 MB, free: 25.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.01169, allocations: 301.3 kB / 457.3 MB, free: 25.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.01198, allocations: 213.3 kB / 457.5 MB, free: 25.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.012, allocations: 4.281 kB / 457.5 MB, free: 25.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.01203, allocations: 42.77 kB / 457.6 MB, free: 25.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.397e-06/0.01203, allocations: 0 / 457.6 MB, free: 25.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002679/0.01471, allocations: 1.58 MB / 459.2 MB, free: 23.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.01473, allocations: 59.91 kB / 459.2 MB, free: 23.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.01493, allocations: 304.5 kB / 459.5 MB, free: 23.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.01495, allocations: 33.7 kB / 459.5 MB, free: 23.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.01503, allocations: 272.9 kB / 459.8 MB, free: 22.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.01509, allocations: 170.5 kB / 460 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.01518, allocations: 82.19 kB / 460.1 MB, free: 22.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.01523, allocations: 350.7 kB / 460.4 MB, free: 22.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.01543, allocations: 148.9 kB / 460.5 MB, free: 22.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01565, allocations: 245.9 kB / 460.8 MB, free: 21.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.01605, allocations: 410.4 kB / 461.2 MB, free: 21.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01606, allocations: 0 / 461.2 MB, free: 21.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005689/0.01662, allocations: 0.5575 MB / 461.7 MB, free: 20.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.01664, allocations: 10.81 kB / 461.8 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.01665, allocations: 3.984 kB / 461.8 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.01685, allocations: 101.6 kB / 461.9 MB, free: 20.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.01708, allocations: 107.8 kB / 462 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.01854, allocations: 3.364 MB / 465.3 MB, free: 17.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.01871, allocations: 28.14 kB / 465.4 MB, free: 17.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.01873, allocations: 16 kB / 465.4 MB, free: 17.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * 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): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.0189, allocations: 185.6 kB / 465.5 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.01894, allocations: 39.77 kB / 465.6 MB, free: 16.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.01899, allocations: 51.73 kB / 465.6 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01899, allocations: 7.938 kB / 465.6 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.019, allocations: 4 kB / 465.6 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01901, allocations: 3.984 kB / 465.7 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.01994, allocations: 1.03 MB / 466.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01995, allocations: 0 / 466.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.02013, allocations: 84.06 kB / 466.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.02027, allocations: 101.7 kB / 466.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.02029, allocations: 12 kB / 466.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.02152, allocations: 3.36 MB / 470.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02153, allocations: 7.969 kB / 470.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.02224, allocations: 0.7744 MB / 471 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-05/0.02233, allocations: 63.77 kB / 471.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.02236, allocations: 11.98 kB / 471.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.02249, allocations: 27.98 kB / 471.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.02256, allocations: 43.8 kB / 471.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.02258, allocations: 12 kB / 471.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.02269, allocations: 211.1 kB / 471.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02269, allocations: 0 / 471.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000419/0.02311, allocations: 124.1 kB / 471.5 MB, free: 10.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (transformer.converter1.i,transformer.eddyCurrent.Phi) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008654/0.02397, allocations: 1.312 MB / 472.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007097/0.02468, allocations: 0.6406 MB / 473.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02468, allocations: 128 / 473.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.02502, allocations: 472.8 kB / 473.9 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.02531, allocations: 60.62 kB / 474 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.02868, allocations: 4.002 MB / 478 MB, free: 3.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.02882, allocations: 238.5 kB / 478.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.02895, allocations: 39.27 kB / 478.2 MB, free: 3.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.02908, allocations: 168.4 kB / 478.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.02909, allocations: 0 / 478.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.0551, allocations: 9.936 MB / 488.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.325, allocations: 3.984 kB / 488.4 MB, free: 9.617 MB / 346.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Magnetic.TestTransformer_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Magnetic_TestTransformer.fmu > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.408082394860685] Failed to read output from testmodel.py, exit status != 0: 7.41369204223156 7.426082575 7.416681161 Calling exit ...