Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.001704/0.001704, 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.425/1.425, allocations: 230.6 MB / 252.7 MB, free: 8.09 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.001508/0.001508, allocations: 217.5 kB / 309.2 MB, free: 2.93 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.04081/0.04081, allocations: 8.905 MB / 374.6 MB, free: 1.715 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.Electrical.TablesFromFile,fileNamePrefix="HanserModelica_HanserModelica_Electrical_TablesFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.TablesFromFile,fileNamePrefix="HanserModelica_HanserModelica_Electrical_TablesFromFile",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.002496/0.002496, allocations: 91.86 kB / 0.4892 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2513, allocations: 55.59 MB / 0.5434 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003134/0.2545, allocations: 2.121 MB / 0.5455 GB, free: 25.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.2563, allocations: 1.735 MB / 0.5472 GB, free: 24.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.2564, allocations: 3.219 kB / 0.5472 GB, free: 24.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.2567, allocations: 107.3 kB / 0.5473 GB, free: 23.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.257, allocations: 163 kB / 0.5475 GB, free: 23.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.2572, allocations: 94.62 kB / 0.5476 GB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.2574, allocations: 230.4 kB / 0.5478 GB, free: 23.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2576, allocations: 32.45 kB / 0.5478 GB, free: 23.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2577, allocations: 101.4 kB / 0.5479 GB, free: 23.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.2581, allocations: 112.7 kB / 0.548 GB, free: 23.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.2582, allocations: 15.94 kB / 0.548 GB, free: 23.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.2584, allocations: 115.5 kB / 0.5481 GB, free: 23.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.2584, allocations: 54.67 kB / 0.5482 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.2585, allocations: 77.66 kB / 0.5483 GB, free: 23.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.2589, allocations: 289.3 kB / 0.5485 GB, free: 23.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2589, allocations: 3.938 kB / 0.5485 GB, free: 23.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2589, allocations: 0 / 0.5485 GB, free: 23.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2589, allocations: 3.156 kB / 0.5485 GB, free: 23.43 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006314/0.2595, allocations: 477.6 kB / 0.549 GB, free: 23.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2595, allocations: 9.156 kB / 0.549 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.2596, allocations: 52.09 kB / 0.5491 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.2596, allocations: 22.48 kB / 0.5491 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.2599, allocations: 196.7 kB / 0.5493 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2599, allocations: 10.77 kB / 0.5493 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.26, allocations: 14.12 kB / 0.5493 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2602, allocations: 198 kB / 0.5495 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2602, allocations: 0 / 0.5495 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2602, allocations: 4 kB / 0.5495 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.2602, allocations: 3.312 kB / 0.5495 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.2604, allocations: 73.31 kB / 0.5496 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.261, allocations: 0.4983 MB / 0.55 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.2614, allocations: 111 kB / 0.5502 GB, free: 22.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.2615, allocations: 36.7 kB / 0.5502 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.2615, allocations: 0 / 0.5502 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.2617, allocations: 130.1 kB / 0.5503 GB, free: 22.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2617, allocations: 4 kB / 0.5503 GB, free: 22.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003318/0.262, allocations: 150.1 kB / 0.5505 GB, free: 21.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.262, allocations: 106.1 kB / 0.5506 GB, free: 21.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.2623, allocations: 284.7 kB / 0.5508 GB, free: 21.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2623, allocations: 28.86 kB / 0.5509 GB, free: 21.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.2624, allocations: 152.4 kB / 0.551 GB, free: 21.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.2624, allocations: 33.62 kB / 0.551 GB, free: 21.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.2624, allocations: 31.59 kB / 0.5511 GB, free: 21.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.334e-05/0.2625, allocations: 335.8 kB / 0.5514 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.2626, allocations: 30.95 kB / 0.5514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.2626, allocations: 133 kB / 0.5515 GB, free: 20.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2628, allocations: 87.75 kB / 0.5516 GB, free: 20.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2628, allocations: 0 / 0.5516 GB, free: 20.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001998/0.263, allocations: 143.6 kB / 0.5518 GB, free: 20.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.263, allocations: 5.969 kB / 0.5518 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.263, allocations: 0 / 0.5518 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.263, allocations: 11 kB / 0.5518 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.2631, allocations: 28.61 kB / 0.5518 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2631, allocations: 0 / 0.5518 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.2632, allocations: 17.7 kB / 0.5518 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2632, allocations: 6 kB / 0.5518 GB, free: 20.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.54e-05/0.2633, allocations: 140.8 kB / 0.552 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.2633, allocations: 17.16 kB / 0.552 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.2636, allocations: 139.2 kB / 0.5521 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2636, allocations: 3 kB / 0.5521 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2636, allocations: 8 kB / 0.5521 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2636, allocations: 0 / 0.5521 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2637, allocations: 212.7 kB / 0.5523 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2637, allocations: 0 / 0.5523 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.2638, allocations: 15.03 kB / 0.5523 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2638, allocations: 0 / 0.5523 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2638, allocations: 10.06 kB / 0.5523 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2638, allocations: 3.938 kB / 0.5524 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2638, allocations: 0 / 0.5524 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.2641, allocations: 200 kB / 0.5525 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.2641, allocations: 20.98 kB / 0.5526 GB, free: 20.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.2641, allocations: 4 kB / 0.5526 GB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.2642, allocations: 9.391 kB / 0.5526 GB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.2643, allocations: 6.422 kB / 0.5526 GB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.2643, allocations: 3 kB / 0.5526 GB, free: 20.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.2644, allocations: 215.8 kB / 0.5528 GB, free: 20.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2644, allocations: 0 / 0.5528 GB, free: 20.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.2647, allocations: 75.89 kB / 0.5529 GB, free: 20.13 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: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0021/0.2668, allocations: 1.17 MB / 0.554 GB, free: 19.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.267, allocations: 82.14 kB / 0.5541 GB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.267, allocations: 0 / 0.5541 GB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.2671, allocations: 36.17 kB / 0.5541 GB, free: 19.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.2674, allocations: 43.56 kB / 0.5542 GB, free: 19.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.2693, allocations: 2.128 MB / 0.5562 GB, free: 17.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.2694, allocations: 133.9 kB / 0.5564 GB, free: 17.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.481e-05/0.2694, allocations: 17.44 kB / 0.5564 GB, free: 17.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.2695, allocations: 69.62 kB / 0.5564 GB, free: 17.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2695, allocations: 0 / 0.5564 GB, free: 17.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.3176, allocations: 6.086 MB / 0.5624 GB, free: 16.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.35, allocations: 7.844 kB / 0.5624 GB, free: 16.02 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.TablesFromFile_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Electrical_TablesFromFile.fmu > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.151493655983359] Failed to read output from testmodel.py, exit status != 0: 11.508717119228095 11.523012964 11.261431667 Calling exit ...