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.001435/0.001435, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.5/1.5, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001567/0.001567, allocations: 208.9 kB / 309.2 MB, free: 3.133 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.04164/0.04164, allocations: 8.909 MB / 374.6 MB, free: 1.887 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.003661/0.003661, allocations: 95.84 kB / 0.4892 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.4002, allocations: 55.59 MB / 0.5435 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.004067/0.4043, allocations: 2.21 MB / 0.5457 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.4063, allocations: 1.137 MB / 0.5468 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.4065, allocations: 7.062 kB / 0.5468 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.4071, allocations: 93.5 kB / 0.5469 GB, free: 24.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.4077, allocations: 154.7 kB / 0.547 GB, free: 24.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.4081, allocations: 99.12 kB / 0.5471 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.4085, allocations: 225.9 kB / 0.5473 GB, free: 24.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.4087, allocations: 36.89 kB / 0.5474 GB, free: 24.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.4089, allocations: 103 kB / 0.5475 GB, free: 24.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.4091, allocations: 111.8 kB / 0.5476 GB, free: 24.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.4091, allocations: 16.81 kB / 0.5476 GB, free: 24.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.4093, allocations: 54.06 kB / 0.5476 GB, free: 24.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.4094, allocations: 43.33 kB / 0.5477 GB, free: 24.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.4095, allocations: 91.78 kB / 0.5478 GB, free: 24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.41, allocations: 235.5 kB / 0.548 GB, free: 23.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.41, allocations: 0 / 0.548 GB, free: 23.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.41, allocations: 6.938 kB / 0.548 GB, free: 23.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.41, allocations: 0 / 0.548 GB, free: 23.9 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.0008798/0.4109, allocations: 446 kB / 0.5484 GB, free: 23.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4109, allocations: 9.062 kB / 0.5484 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.166e-05/0.411, allocations: 45.11 kB / 0.5485 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.411, allocations: 25.27 kB / 0.5485 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.4114, allocations: 187.6 kB / 0.5487 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4114, allocations: 10.67 kB / 0.5487 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.4115, allocations: 14.56 kB / 0.5487 GB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.4118, allocations: 119.5 kB / 0.5488 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4118, allocations: 0 / 0.5488 GB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.4118, allocations: 10.97 kB / 0.5488 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.4118, allocations: 3.125 kB / 0.5488 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.4121, allocations: 75.95 kB / 0.5489 GB, free: 23.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.4131, allocations: 0.5116 MB / 0.5494 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.4136, allocations: 108.9 kB / 0.5495 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.4137, allocations: 39.58 kB / 0.5495 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4137, allocations: 3.328 kB / 0.5495 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.414, allocations: 96.67 kB / 0.5496 GB, free: 22.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.414, allocations: 7.938 kB / 0.5496 GB, free: 22.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005392/0.4145, allocations: 140.4 kB / 0.5498 GB, free: 22.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4146, allocations: 88.27 kB / 0.5499 GB, free: 22.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.4149, allocations: 274.6 kB / 0.5501 GB, free: 22.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4149, allocations: 29.7 kB / 0.5501 GB, free: 22.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.415, allocations: 142.8 kB / 0.5503 GB, free: 22.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.4151, allocations: 34.42 kB / 0.5503 GB, free: 22.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.4151, allocations: 27.16 kB / 0.5503 GB, free: 22.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.4152, allocations: 344.1 kB / 0.5507 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4153, allocations: 27.55 kB / 0.5507 GB, free: 21.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4154, allocations: 62.8 kB / 0.5508 GB, free: 21.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.4156, allocations: 94.06 kB / 0.5508 GB, free: 21.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4156, allocations: 0 / 0.5508 GB, free: 21.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003478/0.416, allocations: 134.4 kB / 0.551 GB, free: 21.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.416, allocations: 5.75 kB / 0.551 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.416, allocations: 3.312 kB / 0.551 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.416, allocations: 0 / 0.551 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4162, allocations: 34.22 kB / 0.551 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.4162, allocations: 3.984 kB / 0.551 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.4164, allocations: 21.56 kB / 0.551 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.4164, allocations: 6.188 kB / 0.551 GB, free: 21.54 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.0001373/0.4165, allocations: 145.2 kB / 0.5512 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.4166, allocations: 18.39 kB / 0.5512 GB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.4169, allocations: 133.4 kB / 0.5513 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4169, allocations: 3.281 kB / 0.5513 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4169, allocations: 0 / 0.5513 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4169, allocations: 4 kB / 0.5513 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.4172, allocations: 217.3 kB / 0.5515 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4172, allocations: 4 kB / 0.5515 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4173, allocations: 16.72 kB / 0.5516 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4173, allocations: 0 / 0.5516 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4173, allocations: 3.422 kB / 0.5516 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.4173, allocations: 3.188 kB / 0.5516 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4173, allocations: 0 / 0.5516 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.4178, allocations: 191.7 kB / 0.5517 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.4178, allocations: 14.88 kB / 0.5518 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.4178, allocations: 7 kB / 0.5518 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.418, allocations: 6.469 kB / 0.5518 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.418, allocations: 6.469 kB / 0.5518 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.4181, allocations: 3 kB / 0.5518 GB, free: 20.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.4183, allocations: 205.5 kB / 0.552 GB, free: 20.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4183, allocations: 0 / 0.552 GB, free: 20.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.4187, allocations: 41.3 kB / 0.552 GB, free: 20.86 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 (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.002519/0.4212, allocations: 1.029 MB / 0.553 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.4216, allocations: 76.02 kB / 0.5531 GB, free: 20.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4216, allocations: 192 / 0.5531 GB, free: 20.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4217, allocations: 40.42 kB / 0.5531 GB, free: 20.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.4222, allocations: 41.75 kB / 0.5532 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.4251, allocations: 2.08 MB / 0.5552 GB, free: 18.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.4253, allocations: 0.735 MB / 0.5559 GB, free: 17.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.4254, allocations: 21.17 kB / 0.5559 GB, free: 17.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.4255, allocations: 59.91 kB / 0.556 GB, free: 17.79 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4255, allocations: 4 kB / 0.556 GB, free: 17.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.4615, allocations: 4.722 MB / 0.5606 GB, free: 16.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.55, allocations: 13.7 kB / 0.5606 GB, free: 16.86 MB / 382.1 MB " [Timeout remaining time 648] (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.494506511997315] Failed to read output from testmodel.py, exit status != 0: 11.717380310001317 11.739843053 11.325819459 Calling exit ...