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.001287/0.001287, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 252.7 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] 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.001634/0.001634, allocations: 210.3 kB / 309.2 MB, free: 3.156 MB / 238.1 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.04126/0.04126, allocations: 8.912 MB / 374.6 MB, free: 1.906 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 88.3 kB / 0.4892 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2873, allocations: 55.6 MB / 0.5435 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004143/0.2915, allocations: 3.877 MB / 0.5473 GB, free: 24.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.2934, allocations: 1.005 MB / 0.5483 GB, free: 23.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.2937, allocations: 10.56 kB / 0.5483 GB, free: 23.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.2939, allocations: 88.59 kB / 0.5484 GB, free: 23.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.2943, allocations: 164 kB / 0.5485 GB, free: 23.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.2947, allocations: 182.2 kB / 0.5487 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.2951, allocations: 0.6452 MB / 0.5493 GB, free: 22.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.2954, allocations: 201.6 kB / 0.5495 GB, free: 22.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.2957, allocations: 262.6 kB / 0.5498 GB, free: 22.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.296, allocations: 283.8 kB / 0.55 GB, free: 22.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.2961, allocations: 69.72 kB / 0.5501 GB, free: 22.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2962, allocations: 69.97 kB / 0.5502 GB, free: 22.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.2962, allocations: 130.3 kB / 0.5503 GB, free: 22.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.2964, allocations: 309.5 kB / 0.5506 GB, free: 21.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.297, allocations: 0.7429 MB / 0.5513 GB, free: 21.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.297, allocations: 4 kB / 0.5513 GB, free: 21.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.297, allocations: 0 / 0.5513 GB, free: 21.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.297, allocations: 3.938 kB / 0.5513 GB, free: 21.66 MB / 382.1 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.001165/0.2982, allocations: 0.7705 MB / 0.5521 GB, free: 21.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2982, allocations: 9.625 kB / 0.5521 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.2983, allocations: 91.3 kB / 0.5522 GB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2985, allocations: 69.89 kB / 0.5522 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.299, allocations: 318.6 kB / 0.5525 GB, free: 20.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.299, allocations: 41.02 kB / 0.5526 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.2991, allocations: 48.44 kB / 0.5526 GB, free: 20.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.2998, allocations: 0.5193 MB / 0.5531 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2998, allocations: 3.125 kB / 0.5531 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.2999, allocations: 23 kB / 0.5532 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2999, allocations: 12.41 kB / 0.5532 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.3005, allocations: 385.4 kB / 0.5535 GB, free: 20.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3026, allocations: 1.844 MB / 0.5553 GB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.3032, allocations: 289.6 kB / 0.5556 GB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.3036, allocations: 214.9 kB / 0.5558 GB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3036, allocations: 7.422 kB / 0.5558 GB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.3037, allocations: 37.84 kB / 0.5559 GB, free: 18.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.3037, allocations: 0 / 0.5559 GB, free: 18.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.003924/0.3076, allocations: 1.591 MB / 0.5574 GB, free: 18.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3076, allocations: 57.78 kB / 0.5575 GB, free: 18.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.3078, allocations: 295.8 kB / 0.5577 GB, free: 17.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3079, allocations: 36.7 kB / 0.5578 GB, free: 17.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.308, allocations: 276.1 kB / 0.558 GB, free: 17.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.177e-05/0.3081, allocations: 162.2 kB / 0.5582 GB, free: 17.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3082, allocations: 91.47 kB / 0.5583 GB, free: 17.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.3082, allocations: 343.2 kB / 0.5586 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.3085, allocations: 152.2 kB / 0.5588 GB, free: 17.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.3089, allocations: 239.6 kB / 0.559 GB, free: 16.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.3095, allocations: 411.9 kB / 0.5594 GB, free: 16.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3095, allocations: 7.281 kB / 0.5594 GB, free: 16.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009056/0.3104, allocations: 0.5531 MB / 0.5599 GB, free: 16.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3104, allocations: 6.375 kB / 0.5599 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3104, allocations: 3.188 kB / 0.5599 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.3107, allocations: 99.98 kB / 0.56 GB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.3111, allocations: 106.3 kB / 0.5601 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.313, allocations: 3.383 MB / 0.5634 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.3133, allocations: 17.75 kB / 0.5635 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.3134, allocations: 26.91 kB / 0.5635 GB, free: 13.21 MB / 382.1 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.0001841/0.3135, allocations: 195.5 kB / 0.5637 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.3136, allocations: 40.14 kB / 0.5637 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.253e-05/0.3137, allocations: 53.05 kB / 0.5638 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3137, allocations: 3.312 kB / 0.5638 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3137, allocations: 3.406 kB / 0.5638 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3137, allocations: 3.234 kB / 0.5638 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.3152, allocations: 1.097 MB / 0.5648 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3152, allocations: 3.828 kB / 0.5648 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.3156, allocations: 81.28 kB / 0.5649 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/0.3158, allocations: 102.1 kB / 0.565 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3159, allocations: 7.969 kB / 0.565 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.3178, allocations: 3.387 MB / 0.5683 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3178, allocations: 3.938 kB / 0.5683 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.319, allocations: 0.7754 MB / 0.5691 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3191, allocations: 70.55 kB / 0.5692 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.3191, allocations: 20.16 kB / 0.5692 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3194, allocations: 25.58 kB / 0.5692 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.3195, allocations: 34.47 kB / 0.5692 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3195, allocations: 18.8 kB / 0.5693 GB, free: 8.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3197, allocations: 210.8 kB / 0.5695 GB, free: 8.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3197, allocations: 0 / 0.5695 GB, free: 8.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006162/0.3204, allocations: 120.1 kB / 0.5696 GB, free: 8.473 MB / 382.1 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.001404/0.3218, allocations: 1.315 MB / 0.5709 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3229, allocations: 0.6437 MB / 0.5715 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3229, allocations: 0 / 0.5715 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.3237, allocations: 480.7 kB / 0.5719 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3241, allocations: 48.02 kB / 0.572 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.331, allocations: 4.052 MB / 0.5759 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3313, allocations: 0.8431 MB / 0.5768 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000217/0.3316, allocations: 40.81 kB / 0.5768 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3318, allocations: 169.1 kB / 0.577 GB, free: 3.383 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3318, allocations: 0 / 0.577 GB, free: 3.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/0.3921, allocations: 9.367 MB / 0.5861 GB, free: 15.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.16, allocations: 5.141 kB / 0.5861 GB, free: 15.97 MB / 398.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.955764341000759] Failed to read output from testmodel.py, exit status != 0: 12.274223919004726 12.300270609 11.998352299 Calling exit ...