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.001628/0.001628, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.538/1.538, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001557/0.001557, allocations: 211.8 kB / 309.2 MB, free: 3.09 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.04062/0.04062, allocations: 8.916 MB / 374.6 MB, free: 6.574 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.002571/0.002571, allocations: 91.88 kB / 0.4891 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08787, allocations: 55.6 MB / 0.5434 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003711/0.09158, allocations: 2.109 MB / 0.5455 GB, free: 2.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.09354, allocations: 1.045 MB / 0.5465 GB, free: 1.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.09365, allocations: 4 kB / 0.5465 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.09402, allocations: 103.5 kB / 0.5466 GB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.09443, allocations: 147.3 kB / 0.5468 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.0947, allocations: 99.64 kB / 0.5469 GB, free: 1.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.09501, allocations: 235.1 kB / 0.5471 GB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.09515, allocations: 33.78 kB / 0.5471 GB, free: 1.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.09531, allocations: 91.62 kB / 0.5472 GB, free: 1.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.09549, allocations: 107.6 kB / 0.5473 GB, free: 1.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.09552, allocations: 12 kB / 0.5473 GB, free: 1.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.09565, allocations: 55.98 kB / 0.5474 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.09573, allocations: 47.77 kB / 0.5474 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.09582, allocations: 75.55 kB / 0.5475 GB, free: 0.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.09617, allocations: 239 kB / 0.5477 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09618, allocations: 0 / 0.5477 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09618, allocations: 0 / 0.5477 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.09619, allocations: 0 / 0.5477 GB, free: 0.6406 MB / 366.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.0008014/0.09699, allocations: 447.1 kB / 0.5481 GB, free: 180 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.09704, allocations: 11.98 kB / 0.5481 GB, free: 168 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.0971, allocations: 46.73 kB / 0.5482 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.09716, allocations: 28.73 kB / 0.5482 GB, free: 84 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.09758, allocations: 189.9 kB / 0.5484 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.0976, allocations: 12.55 kB / 0.5484 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.09764, allocations: 19.92 kB / 0.5484 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.09794, allocations: 153.1 kB / 0.5486 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.09795, allocations: 0 / 0.5486 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.09796, allocations: 4 kB / 0.5486 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.09798, allocations: 4 kB / 0.5486 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.09815, allocations: 76.66 kB / 0.5487 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.09903, allocations: 0.4938 MB / 0.5491 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.09943, allocations: 106.7 kB / 0.5492 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.09952, allocations: 32.84 kB / 0.5493 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.09953, allocations: 0 / 0.5493 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.09976, allocations: 126.7 kB / 0.5494 GB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.09977, allocations: 4 kB / 0.5494 GB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003808/0.1001, allocations: 149.5 kB / 0.5495 GB, free: 14.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.1002, allocations: 81.11 kB / 0.5496 GB, free: 14.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1005, allocations: 281.3 kB / 0.5499 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1005, allocations: 25.7 kB / 0.5499 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1006, allocations: 144 kB / 0.5501 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1007, allocations: 31.7 kB / 0.5501 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.1007, allocations: 37.64 kB / 0.5501 GB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1009, allocations: 330.8 kB / 0.5504 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.101, allocations: 27.98 kB / 0.5505 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1011, allocations: 96.5 kB / 0.5506 GB, free: 13.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1013, allocations: 95.39 kB / 0.5506 GB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1013, allocations: 0 / 0.5506 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002625/0.1015, allocations: 141.4 kB / 0.5508 GB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1015, allocations: 4 kB / 0.5508 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.1015, allocations: 3.984 kB / 0.5508 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1016, allocations: 4 kB / 0.5508 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1017, allocations: 20 kB / 0.5508 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1017, allocations: 4.094 kB / 0.5508 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.756e-05/0.1018, allocations: 23.88 kB / 0.5508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1018, allocations: 7.984 kB / 0.5508 GB, free: 13.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 0.0001425/0.1019, allocations: 145.7 kB / 0.551 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.102, allocations: 19.86 kB / 0.551 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.1023, allocations: 139.3 kB / 0.5511 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1023, allocations: 8 kB / 0.5511 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1023, allocations: 0 / 0.5511 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1023, allocations: 0 / 0.5511 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1025, allocations: 212.5 kB / 0.5513 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1025, allocations: 0 / 0.5513 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.1026, allocations: 15.94 kB / 0.5514 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1026, allocations: 0 / 0.5514 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1026, allocations: 8 kB / 0.5514 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1026, allocations: 3.984 kB / 0.5514 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1026, allocations: 0 / 0.5514 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.103, allocations: 196.8 kB / 0.5516 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.103, allocations: 27.86 kB / 0.5516 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1031, allocations: 0 / 0.5516 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.1032, allocations: 12.06 kB / 0.5516 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1032, allocations: 7.984 kB / 0.5516 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1032, allocations: 7.938 kB / 0.5516 GB, free: 12.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.1034, allocations: 208.5 kB / 0.5518 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1034, allocations: 0 / 0.5518 GB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1037, allocations: 39.92 kB / 0.5518 GB, free: 12.07 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.002192/0.1059, allocations: 1.067 MB / 0.5529 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1061, allocations: 83.91 kB / 0.553 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1061, allocations: 0 / 0.553 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.1062, allocations: 35.92 kB / 0.553 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1065, allocations: 45.38 kB / 0.553 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1093, allocations: 2.09 MB / 0.5551 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.1094, allocations: 132.8 kB / 0.5552 GB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.104e-05/0.1095, allocations: 17.48 kB / 0.5552 GB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1096, allocations: 63.41 kB / 0.5553 GB, free: 8.574 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1096, allocations: 0 / 0.5553 GB, free: 8.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.1457, allocations: 5.261 MB / 0.5604 GB, free: 3.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.23, allocations: 12 kB / 0.5604 GB, free: 3.352 MB / 382.1 MB " [Timeout remaining time 649] (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: 14.425656476989388] Failed to read output from testmodel.py, exit status != 0: 11.390991028398275 11.577585542 11.478585352 Calling exit ...