Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001441/0.001441, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.456/1.456, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.001598/0.001598, allocations: 231.6 kB / 309.2 MB, free: 2.945 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.04104/0.04104, allocations: 8.909 MB / 374.6 MB, free: 1.734 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.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",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.002529/0.002529, allocations: 83.88 kB / 0.4891 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2764, allocations: 55.61 MB / 0.5434 GB, free: 26.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002545/0.2789, allocations: 1.765 MB / 0.5452 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.2796, allocations: 462.4 kB / 0.5456 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.2797, allocations: 3.312 kB / 0.5456 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.2798, allocations: 18.66 kB / 0.5456 GB, free: 25.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/0.2799, allocations: 33.62 kB / 0.5457 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.28, allocations: 33.02 kB / 0.5457 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.2802, allocations: 125.9 kB / 0.5458 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2803, allocations: 22.17 kB / 0.5458 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.2803, allocations: 57.03 kB / 0.5459 GB, free: 24.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.2804, allocations: 42.33 kB / 0.5459 GB, free: 24.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2804, allocations: 9.562 kB / 0.5459 GB, free: 24.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.2805, allocations: 9.562 kB / 0.5459 GB, free: 24.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.2805, allocations: 26.52 kB / 0.546 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.2805, allocations: 45.92 kB / 0.546 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.2807, allocations: 125.7 kB / 0.5461 GB, free: 24.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2807, allocations: 0 / 0.5461 GB, free: 24.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2807, allocations: 0 / 0.5461 GB, free: 24.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2807, allocations: 4 kB / 0.5461 GB, free: 24.88 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004487/0.2811, allocations: 333.8 kB / 0.5464 GB, free: 24.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2812, allocations: 9.188 kB / 0.5465 GB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.2812, allocations: 45.19 kB / 0.5465 GB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.2812, allocations: 10.89 kB / 0.5465 GB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.2814, allocations: 141.7 kB / 0.5466 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2814, allocations: 7.438 kB / 0.5467 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.2815, allocations: 13.66 kB / 0.5467 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.2816, allocations: 132.3 kB / 0.5468 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2816, allocations: 4 kB / 0.5468 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2817, allocations: 4 kB / 0.5468 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.2817, allocations: 3.188 kB / 0.5468 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.2818, allocations: 60 kB / 0.5469 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.2823, allocations: 454.2 kB / 0.5473 GB, free: 23.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.088e-05/0.2824, allocations: 45.81 kB / 0.5473 GB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.2824, allocations: 22.11 kB / 0.5474 GB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.2825, allocations: 0 / 0.5474 GB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.2825, allocations: 30.56 kB / 0.5474 GB, free: 23.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2825, allocations: 3.281 kB / 0.5474 GB, free: 23.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001562/0.2826, allocations: 68.19 kB / 0.5475 GB, free: 23.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2827, allocations: 54.83 kB / 0.5475 GB, free: 23.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.2827, allocations: 144.3 kB / 0.5476 GB, free: 23.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.2828, allocations: 25.7 kB / 0.5477 GB, free: 23.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.2828, allocations: 117.4 kB / 0.5478 GB, free: 23.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.2828, allocations: 15.84 kB / 0.5478 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.2828, allocations: 32.11 kB / 0.5478 GB, free: 23.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.2829, allocations: 325.3 kB / 0.5481 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.2829, allocations: 17.92 kB / 0.5482 GB, free: 23.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.2829, allocations: 28.33 kB / 0.5482 GB, free: 23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.283, allocations: 50.11 kB / 0.5482 GB, free: 22.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.283, allocations: 0 / 0.5482 GB, free: 22.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.942e-05/0.2831, allocations: 85.27 kB / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.2831, allocations: 3.188 kB / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2831, allocations: 4.062 kB / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2831, allocations: 3.312 kB / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.2832, allocations: 16.2 kB / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2832, allocations: 160 / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.2832, allocations: 3.219 kB / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2832, allocations: 3.281 kB / 0.5483 GB, free: 22.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.2833, allocations: 125.1 kB / 0.5485 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2833, allocations: 7.266 kB / 0.5485 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.2833, allocations: 11.38 kB / 0.5485 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2833, allocations: 0 / 0.5485 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2833, allocations: 7.422 kB / 0.5485 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2834, allocations: 0 / 0.5485 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2835, allocations: 165 kB / 0.5486 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2835, allocations: 0 / 0.5486 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.2835, allocations: 6.312 kB / 0.5486 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2835, allocations: 3.406 kB / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2835, allocations: 0 / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2835, allocations: 8.047 kB / 0.5487 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2835, allocations: 0 / 0.5487 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.2837, allocations: 170.7 kB / 0.5488 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.2837, allocations: 11.11 kB / 0.5488 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2837, allocations: 11.48 kB / 0.5488 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.2838, allocations: 3.25 kB / 0.5488 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.2838, allocations: 3.156 kB / 0.5489 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2838, allocations: 0 / 0.5489 GB, free: 22.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.2838, allocations: 106.4 kB / 0.549 GB, free: 22.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2838, allocations: 0 / 0.549 GB, free: 22.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.2841, allocations: 27.39 kB / 0.549 GB, free: 22.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.2843, allocations: 0.6906 MB / 0.5497 GB, free: 21.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.2844, allocations: 37.92 kB / 0.5497 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2844, allocations: 3.938 kB / 0.5497 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.2844, allocations: 10.22 kB / 0.5497 GB, free: 21.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.2847, allocations: 24.19 kB / 0.5497 GB, free: 21.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2858, allocations: 1.572 MB / 0.5513 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.269e-05/0.2859, allocations: 87.64 kB / 0.5513 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.2859, allocations: 7 kB / 0.5514 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.286, allocations: 33.86 kB / 0.5514 GB, free: 20.13 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.286, allocations: 0 / 0.5514 GB, free: 20.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.3173, allocations: 2.588 MB / 0.5539 GB, free: 19.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.6, allocations: 13.69 kB / 0.5539 GB, free: 19.23 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_FirstSteps_Electrical4.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.349937664344907] Failed to read output from testmodel.py, exit status != 0: 11.701510364655405 11.71804167 11.434688755 Calling exit ...