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.0007978/0.0007978, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.9049/0.9049, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001127/0.001127, allocations: 164.2 kB / 256 MB, free: 13.34 MB / 250.7 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.02983/0.02983, allocations: 6.662 MB / 319 MB, free: 26.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.27e-05, allocations: 8.609 kB / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002283/0.002306, allocations: 2.113 MB / 447.5 MB, free: 35.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.003763, allocations: 1.761 MB / 449.3 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.003891, allocations: 3.938 kB / 449.3 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.004263, allocations: 99.55 kB / 449.4 MB, free: 33.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.004617, allocations: 155.1 kB / 449.5 MB, free: 33.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.00483, allocations: 111.5 kB / 449.6 MB, free: 33.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.005068, allocations: 231.1 kB / 449.9 MB, free: 33.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.005207, allocations: 37.78 kB / 449.9 MB, free: 33.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.005332, allocations: 135.6 kB / 450 MB, free: 32.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.005485, allocations: 99.73 kB / 450.1 MB, free: 32.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.005509, allocations: 19.94 kB / 450.1 MB, free: 32.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.005661, allocations: 111.9 kB / 450.3 MB, free: 32.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.00572, allocations: 47.78 kB / 450.3 MB, free: 32.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.005775, allocations: 59.83 kB / 450.4 MB, free: 32.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.006058, allocations: 307 kB / 450.7 MB, free: 32.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006061, allocations: 0 / 450.7 MB, free: 32.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006062, allocations: 3.938 kB / 450.7 MB, free: 32.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006066, allocations: 0 / 450.7 MB, free: 32.34 MB / 330.7 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.0004758/0.006542, allocations: 476.9 kB / 451.1 MB, free: 31.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.006576, allocations: 8.031 kB / 451.1 MB, free: 31.83 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.006605, allocations: 46.69 kB / 451.2 MB, free: 31.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.006647, allocations: 24.8 kB / 451.2 MB, free: 31.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.006873, allocations: 189.3 kB / 451.4 MB, free: 31.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.006893, allocations: 12.61 kB / 451.4 MB, free: 31.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.006916, allocations: 12.38 kB / 451.4 MB, free: 31.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.007131, allocations: 203.3 kB / 451.6 MB, free: 31.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.007141, allocations: 4 kB / 451.6 MB, free: 31.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.007156, allocations: 7.984 kB / 451.6 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.007163, allocations: 4 kB / 451.6 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.007271, allocations: 68.67 kB / 451.7 MB, free: 31.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.007861, allocations: 0.494 MB / 452.2 MB, free: 30.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.008162, allocations: 102.7 kB / 452.3 MB, free: 30.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.008209, allocations: 40.78 kB / 452.3 MB, free: 30.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.008226, allocations: 7.938 kB / 452.3 MB, free: 30.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.008374, allocations: 122.8 kB / 452.5 MB, free: 30.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.008375, allocations: 0 / 452.5 MB, free: 30.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000239/0.008614, allocations: 153.7 kB / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.008641, allocations: 106.8 kB / 452.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.008798, allocations: 289.8 kB / 453 MB, free: 29.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.008807, allocations: 29.64 kB / 453 MB, free: 29.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.008863, allocations: 147.9 kB / 453.2 MB, free: 29.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.00888, allocations: 35.73 kB / 453.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.008914, allocations: 29.72 kB / 453.2 MB, free: 29.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.22e-05/0.008946, allocations: 330.8 kB / 453.6 MB, free: 29.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.008986, allocations: 35.92 kB / 453.6 MB, free: 29.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.009044, allocations: 123.2 kB / 453.7 MB, free: 29.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.009132, allocations: 91.34 kB / 453.8 MB, free: 28.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.009134, allocations: 7.938 kB / 453.8 MB, free: 28.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001375/0.009272, allocations: 149.4 kB / 454 MB, free: 28.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.009285, allocations: 8 kB / 454 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.009291, allocations: 0 / 454 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.009304, allocations: 0 / 454 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.009366, allocations: 27.92 kB / 454 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.009371, allocations: 4 kB / 454 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.009429, allocations: 15.89 kB / 454 MB, free: 28.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.009437, allocations: 8 kB / 454 MB, free: 28.69 MB / 330.7 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 7.166e-05/0.009508, allocations: 137.9 kB / 454.2 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.009525, allocations: 19.84 kB / 454.2 MB, free: 28.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.009691, allocations: 147.3 kB / 454.3 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.009693, allocations: 0 / 454.3 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009698, allocations: 4 kB / 454.3 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.009701, allocations: 0 / 454.3 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.009816, allocations: 212.6 kB / 454.5 MB, free: 28.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009817, allocations: 0 / 454.5 MB, free: 28.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.009865, allocations: 15.98 kB / 454.5 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.009866, allocations: 0 / 454.5 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.009875, allocations: 4 kB / 454.5 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.009877, allocations: 4 kB / 454.6 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009878, allocations: 0 / 454.6 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.01006, allocations: 204.8 kB / 454.8 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.01008, allocations: 23.88 kB / 454.8 MB, free: 27.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.0101, allocations: 3.984 kB / 454.8 MB, free: 27.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.01014, allocations: 4 kB / 454.8 MB, free: 27.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.01016, allocations: 11.98 kB / 454.8 MB, free: 27.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.01018, allocations: 4 kB / 454.8 MB, free: 27.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.936e-05/0.01028, allocations: 217.2 kB / 455 MB, free: 27.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 4.062 kB / 455 MB, free: 27.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.01047, allocations: 63.81 kB / 455.1 MB, free: 27.57 MB / 330.7 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.0009721/0.01144, allocations: 1.184 MB / 456.3 MB, free: 26.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01158, allocations: 79.84 kB / 456.3 MB, free: 26.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01158, allocations: 0 / 456.3 MB, free: 26.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.01163, allocations: 39.98 kB / 456.4 MB, free: 26.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.01184, allocations: 41.42 kB / 456.4 MB, free: 26.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.01312, allocations: 2.104 MB / 458.5 MB, free: 24.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.422e-05/0.01317, allocations: 128.9 kB / 458.6 MB, free: 24.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.01322, allocations: 21.47 kB / 458.7 MB, free: 24.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.01328, allocations: 68.47 kB / 458.7 MB, free: 23.98 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01329, allocations: 0 / 458.7 MB, free: 23.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.03444, allocations: 6.217 MB / 465 MB, free: 17.81 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/6.846, allocations: 10.91 kB / 465 MB, free: 17.8 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.896745037287474] Failed to read output from testmodel.py, exit status != 0: 6.945115242153406 6.955644556 6.947595013 Calling exit ...