Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.001752/0.001752, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.563/1.563, allocations: 230.6 MB / 249.8 MB, free: 9.242 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.002046/0.002046, allocations: 218.6 kB / 306 MB, free: 4.301 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.04195/0.04195, allocations: 8.903 MB / 371 MB, free: 3.445 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.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",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.83 kB / 495.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3284, allocations: 55.56 MB / 0.5384 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002645/0.3311, allocations: 1.845 MB / 0.5402 GB, free: 25.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000683/0.3318, allocations: 496.4 kB / 0.5407 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.3318, allocations: 7.938 kB / 0.5407 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3319, allocations: 17.69 kB / 0.5407 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.332, allocations: 30.17 kB / 0.5407 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.3321, allocations: 33.45 kB / 0.5407 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3323, allocations: 123.5 kB / 0.5409 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3324, allocations: 26.14 kB / 0.5409 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.3324, allocations: 51.78 kB / 0.5409 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.3325, allocations: 51.11 kB / 0.541 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3325, allocations: 12.34 kB / 0.541 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.3326, allocations: 13.12 kB / 0.541 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.3326, allocations: 21.91 kB / 0.541 GB, free: 24.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.3326, allocations: 58.34 kB / 0.5411 GB, free: 24.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.3328, allocations: 123 kB / 0.5412 GB, free: 24.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3328, allocations: 0 / 0.5412 GB, free: 24.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3328, allocations: 3.406 kB / 0.5412 GB, free: 24.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3328, allocations: 0 / 0.5412 GB, free: 24.67 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.0004665/0.3332, allocations: 408.4 kB / 0.5416 GB, free: 24.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3333, allocations: 9.594 kB / 0.5416 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.3333, allocations: 49.34 kB / 0.5416 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3333, allocations: 10.83 kB / 0.5417 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3336, allocations: 196.5 kB / 0.5418 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3336, allocations: 7.531 kB / 0.5418 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.3336, allocations: 14.03 kB / 0.5419 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3338, allocations: 107.3 kB / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3338, allocations: 0 / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3338, allocations: 0 / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3338, allocations: 3.25 kB / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3339, allocations: 75.27 kB / 0.542 GB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.3345, allocations: 0.4898 MB / 0.5425 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.615e-05/0.3346, allocations: 53.03 kB / 0.5426 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.3346, allocations: 22.84 kB / 0.5426 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.3347, allocations: 0 / 0.5426 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.3347, allocations: 34.56 kB / 0.5426 GB, free: 23.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3347, allocations: 0 / 0.5426 GB, free: 23.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001691/0.3348, allocations: 62.91 kB / 0.5427 GB, free: 23.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3349, allocations: 51.41 kB / 0.5427 GB, free: 23.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.335, allocations: 140.3 kB / 0.5429 GB, free: 23.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.335, allocations: 33.64 kB / 0.5429 GB, free: 23.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.335, allocations: 124.8 kB / 0.543 GB, free: 23.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.335, allocations: 15.84 kB / 0.543 GB, free: 23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3351, allocations: 20.38 kB / 0.5431 GB, free: 22.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.3351, allocations: 325.1 kB / 0.5434 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.3352, allocations: 13.66 kB / 0.5434 GB, free: 22.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.3352, allocations: 32.34 kB / 0.5434 GB, free: 22.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.772e-05/0.3353, allocations: 53.34 kB / 0.5435 GB, free: 22.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3353, allocations: 0 / 0.5435 GB, free: 22.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001006/0.3354, allocations: 79.72 kB / 0.5435 GB, free: 22.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3354, allocations: 9.969 kB / 0.5435 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3354, allocations: 0 / 0.5435 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3354, allocations: 0 / 0.5435 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.3355, allocations: 20.22 kB / 0.5436 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3355, allocations: 3.406 kB / 0.5436 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.3355, allocations: 12.08 kB / 0.5436 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.3355, allocations: 3.188 kB / 0.5436 GB, free: 22.51 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.559e-05/0.3356, allocations: 117.1 kB / 0.5437 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.3356, allocations: 7.266 kB / 0.5437 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.3357, allocations: 14.77 kB / 0.5437 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3357, allocations: 0 / 0.5437 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3357, allocations: 0 / 0.5437 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3357, allocations: 3.5 kB / 0.5437 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3358, allocations: 197.8 kB / 0.5439 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3358, allocations: 7.938 kB / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.3359, allocations: 12.78 kB / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3359, allocations: 0 / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3359, allocations: 0 / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3359, allocations: 0 / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3359, allocations: 0 / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.336, allocations: 167.1 kB / 0.5441 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.3361, allocations: 83.78 kB / 0.5442 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3361, allocations: 4.062 kB / 0.5442 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.3362, allocations: 7.188 kB / 0.5442 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.3362, allocations: 3.188 kB / 0.5442 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3362, allocations: 3.219 kB / 0.5442 GB, free: 21.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.3362, allocations: 105.7 kB / 0.5443 GB, free: 21.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3362, allocations: 0 / 0.5443 GB, free: 21.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3365, allocations: 34.8 kB / 0.5443 GB, free: 21.8 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.0002488/0.3367, allocations: 0.694 MB / 0.545 GB, free: 21.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.3368, allocations: 34.73 kB / 0.545 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3368, allocations: 3.938 kB / 0.545 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/0.3369, allocations: 13.36 kB / 0.545 GB, free: 21.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3371, allocations: 14 kB / 0.5451 GB, free: 21.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3384, allocations: 1.584 MB / 0.5466 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3385, allocations: 0.6981 MB / 0.5473 GB, free: 19.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.3385, allocations: 3.953 kB / 0.5473 GB, free: 19.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.3386, allocations: 26.19 kB / 0.5473 GB, free: 18.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3386, allocations: 3.938 kB / 0.5473 GB, free: 18.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3691, allocations: 2.028 MB / 0.5493 GB, free: 18.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.262, allocations: 11.17 kB / 0.5493 GB, free: 18.53 MB / 382.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical5_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_Electrical5.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.186859507011832] Failed to read output from testmodel.py, exit status != 0: 8.331339907992515 8.350177905 8.0136706 Calling exit ...