Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.001743/0.001743, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.458/1.458, allocations: 230.6 MB / 249.8 MB, free: 9.207 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.001555/0.001555, allocations: 205.5 kB / 306 MB, free: 4.297 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.04172/0.04172, allocations: 8.904 MB / 371 MB, free: 3.434 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.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",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.002436/0.002436, allocations: 83.88 kB / 495.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2647, allocations: 55.56 MB / 0.5384 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.00299/0.2677, allocations: 2.198 MB / 0.5405 GB, free: 25.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2693, allocations: 1.108 MB / 0.5416 GB, free: 24.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2694, allocations: 7.094 kB / 0.5416 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.2698, allocations: 103.4 kB / 0.5417 GB, free: 24.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.2701, allocations: 146.7 kB / 0.5418 GB, free: 24.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.2704, allocations: 95.62 kB / 0.5419 GB, free: 24.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.2707, allocations: 226.8 kB / 0.5422 GB, free: 24.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.2708, allocations: 45.02 kB / 0.5422 GB, free: 24.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.271, allocations: 98.02 kB / 0.5423 GB, free: 23.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2711, allocations: 113.1 kB / 0.5424 GB, free: 23.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.2711, allocations: 12.66 kB / 0.5424 GB, free: 23.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.2712, allocations: 61.84 kB / 0.5425 GB, free: 23.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.2713, allocations: 40.5 kB / 0.5425 GB, free: 23.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.2714, allocations: 88.05 kB / 0.5426 GB, free: 23.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.2717, allocations: 238.4 kB / 0.5428 GB, free: 23.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2717, allocations: 0 / 0.5428 GB, free: 23.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2717, allocations: 0 / 0.5428 GB, free: 23.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2717, allocations: 3.938 kB / 0.5428 GB, free: 23.74 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.0006396/0.2723, allocations: 0.5116 MB / 0.5433 GB, free: 23.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2724, allocations: 9.594 kB / 0.5433 GB, free: 23.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.2724, allocations: 45.31 kB / 0.5434 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.2725, allocations: 24.98 kB / 0.5434 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.2727, allocations: 250.9 kB / 0.5436 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2727, allocations: 10.98 kB / 0.5436 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.2727, allocations: 14.44 kB / 0.5437 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.273, allocations: 124.6 kB / 0.5438 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.273, allocations: 0 / 0.5438 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.273, allocations: 4 kB / 0.5438 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.273, allocations: 3.25 kB / 0.5438 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.2731, allocations: 69.81 kB / 0.5439 GB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.2738, allocations: 0.5533 MB / 0.5444 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.2741, allocations: 107.7 kB / 0.5445 GB, free: 22.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.2742, allocations: 36.48 kB / 0.5445 GB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2742, allocations: 0 / 0.5445 GB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.2744, allocations: 105.6 kB / 0.5446 GB, free: 22.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.2744, allocations: 0 / 0.5446 GB, free: 22.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003398/0.2747, allocations: 146.9 kB / 0.5448 GB, free: 22.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2748, allocations: 81.11 kB / 0.5448 GB, free: 22.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.275, allocations: 279.1 kB / 0.5451 GB, free: 21.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.275, allocations: 25.7 kB / 0.5451 GB, free: 21.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.2751, allocations: 147.4 kB / 0.5453 GB, free: 21.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.2751, allocations: 34.3 kB / 0.5453 GB, free: 21.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.2751, allocations: 35.09 kB / 0.5453 GB, free: 21.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.2752, allocations: 335.9 kB / 0.5457 GB, free: 21.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.2753, allocations: 27.41 kB / 0.5457 GB, free: 21.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.2754, allocations: 65.52 kB / 0.5458 GB, free: 21.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.2755, allocations: 101 kB / 0.5458 GB, free: 21.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2755, allocations: 0 / 0.5458 GB, free: 21.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002137/0.2757, allocations: 130.1 kB / 0.546 GB, free: 21.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2757, allocations: 9.906 kB / 0.546 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2757, allocations: 3.125 kB / 0.546 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2758, allocations: 0 / 0.546 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2759, allocations: 28.95 kB / 0.546 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2759, allocations: 4.094 kB / 0.546 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.276, allocations: 17.08 kB / 0.546 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.276, allocations: 3.031 kB / 0.546 GB, free: 21.18 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.436e-05/0.2761, allocations: 147 kB / 0.5462 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.2761, allocations: 23.44 kB / 0.5462 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.2761, allocations: 25.16 kB / 0.5462 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2761, allocations: 0 / 0.5462 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2761, allocations: 4 kB / 0.5462 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2761, allocations: 4 kB / 0.5462 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.2763, allocations: 241.6 kB / 0.5465 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.2763, allocations: 0 / 0.5465 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.2764, allocations: 16.69 kB / 0.5465 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2764, allocations: 0 / 0.5465 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2764, allocations: 3.031 kB / 0.5465 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2764, allocations: 0 / 0.5465 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2764, allocations: 3.375 kB / 0.5465 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.2767, allocations: 192.4 kB / 0.5467 GB, free: 20.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.2767, allocations: 91.64 kB / 0.5468 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2767, allocations: 7.938 kB / 0.5468 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.2768, allocations: 6.328 kB / 0.5468 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.2768, allocations: 3.281 kB / 0.5468 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2769, allocations: 10.72 kB / 0.5468 GB, free: 20.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.277, allocations: 202 kB / 0.547 GB, free: 20.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.277, allocations: 0 / 0.547 GB, free: 20.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.2772, allocations: 44.17 kB / 0.547 GB, free: 20.43 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.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001695/0.2789, allocations: 1.032 MB / 0.548 GB, free: 19.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.2791, allocations: 75.27 kB / 0.5481 GB, free: 19.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2791, allocations: 4.188 kB / 0.5481 GB, free: 19.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.2792, allocations: 30.67 kB / 0.5481 GB, free: 19.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.2795, allocations: 39.38 kB / 0.5482 GB, free: 19.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.2813, allocations: 2.08 MB / 0.5502 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2814, allocations: 0.7358 MB / 0.5509 GB, free: 17.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.2815, allocations: 20.86 kB / 0.5509 GB, free: 17.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.2815, allocations: 63.12 kB / 0.551 GB, free: 17.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2815, allocations: 4 kB / 0.551 GB, free: 17.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.3091, allocations: 4.534 MB / 0.5554 GB, free: 16.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.375, allocations: 2.875 kB / 0.5554 GB, free: 16.49 MB / 382.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.Tables_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_Tables.fmu > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.200308024999686] Failed to read output from testmodel.py, exit status != 0: 8.497755315998802 8.50947353 8.235030549 Calling exit ...