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.001214/0.001214, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.9054/0.9054, allocations: 177.2 MB / 199.4 MB, free: 5.938 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.001599/0.001599, allocations: 156.5 kB / 256 MB, free: 13.35 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.02593/0.02593, allocations: 6.669 MB / 319 MB, free: 26.77 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.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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.029e-05, allocations: 6.219 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.00216/0.002181, allocations: 2.108 MB / 447.5 MB, free: 35.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003262, allocations: 1.056 MB / 448.6 MB, free: 34.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.003367, allocations: 4 kB / 448.6 MB, free: 34.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.003691, allocations: 111.4 kB / 448.7 MB, free: 34.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.004032, allocations: 147.2 kB / 448.8 MB, free: 34.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.004212, allocations: 103.6 kB / 448.9 MB, free: 34.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.004386, allocations: 235 kB / 449.1 MB, free: 33.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.004495, allocations: 25.8 kB / 449.2 MB, free: 33.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.004589, allocations: 135.6 kB / 449.3 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.00469, allocations: 91.75 kB / 449.4 MB, free: 33.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.004718, allocations: 16 kB / 449.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.821e-05/0.004796, allocations: 51.92 kB / 449.5 MB, free: 33.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.004846, allocations: 47.83 kB / 449.5 MB, free: 33.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.00489, allocations: 59.83 kB / 449.6 MB, free: 33.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.005074, allocations: 235.1 kB / 449.8 MB, free: 33.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005076, allocations: 3.938 kB / 449.8 MB, free: 33.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005076, allocations: 0 / 449.8 MB, free: 33.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.00508, allocations: 4 kB / 449.8 MB, free: 33.21 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.0004267/0.005507, allocations: 445.2 kB / 450.2 MB, free: 32.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.005541, allocations: 12.03 kB / 450.2 MB, free: 32.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.005571, allocations: 46.73 kB / 450.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.005607, allocations: 20.8 kB / 450.3 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.005799, allocations: 185.2 kB / 450.5 MB, free: 32.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.005812, allocations: 16.55 kB / 450.5 MB, free: 32.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.005831, allocations: 8.375 kB / 450.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.005996, allocations: 155.6 kB / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006005, allocations: 0 / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.006017, allocations: 8 kB / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.006022, allocations: 4 kB / 450.7 MB, free: 32.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.006116, allocations: 72.66 kB / 450.7 MB, free: 32.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.006591, allocations: 498.1 kB / 451.2 MB, free: 31.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.00684, allocations: 106.6 kB / 451.3 MB, free: 31.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.006886, allocations: 44.78 kB / 451.4 MB, free: 31.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.006901, allocations: 4 kB / 451.4 MB, free: 31.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.007031, allocations: 126.7 kB / 451.5 MB, free: 31.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.007032, allocations: 0 / 451.5 MB, free: 31.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002328/0.007265, allocations: 149.5 kB / 451.7 MB, free: 31.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.007293, allocations: 85.11 kB / 451.7 MB, free: 31.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.007436, allocations: 281.6 kB / 452 MB, free: 30.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.007445, allocations: 29.7 kB / 452 MB, free: 30.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.007497, allocations: 140.3 kB / 452.2 MB, free: 30.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.007515, allocations: 39.69 kB / 452.2 MB, free: 30.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.00755, allocations: 33.7 kB / 452.3 MB, free: 30.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.007586, allocations: 330.8 kB / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.00763, allocations: 31.92 kB / 452.6 MB, free: 30.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.399e-05/0.007684, allocations: 93.91 kB / 452.7 MB, free: 30.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/0.00777, allocations: 87.42 kB / 452.8 MB, free: 29.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.007773, allocations: 3.938 kB / 452.8 MB, free: 29.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001329/0.007906, allocations: 145.4 kB / 452.9 MB, free: 29.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007918, allocations: 8 kB / 452.9 MB, free: 29.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.007924, allocations: 3.984 kB / 452.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.007938, allocations: 4 kB / 452.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.007998, allocations: 20 kB / 453 MB, free: 29.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.008005, allocations: 11.92 kB / 453 MB, free: 29.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.008055, allocations: 23.88 kB / 453 MB, free: 29.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.008062, allocations: 4 kB / 453 MB, free: 29.74 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 6.494e-05/0.008127, allocations: 137.4 kB / 453.1 MB, free: 29.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.008141, allocations: 27.8 kB / 453.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.008288, allocations: 135.4 kB / 453.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.00829, allocations: 3.938 kB / 453.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008293, allocations: 0 / 453.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008296, allocations: 0 / 453.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.008397, allocations: 208.6 kB / 453.5 MB, free: 29.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008398, allocations: 0 / 453.5 MB, free: 29.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.008445, allocations: 16 kB / 453.5 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008447, allocations: 0 / 453.5 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.008455, allocations: 4 kB / 453.5 MB, free: 29.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008457, allocations: 3.984 kB / 453.5 MB, free: 29.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008458, allocations: 4 kB / 453.5 MB, free: 29.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.008642, allocations: 197.2 kB / 453.7 MB, free: 28.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.00866, allocations: 23.81 kB / 453.7 MB, free: 28.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.008677, allocations: 7.938 kB / 453.8 MB, free: 28.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.008711, allocations: 7.938 kB / 453.8 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.008737, allocations: 7.984 kB / 453.8 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.00875, allocations: 8 kB / 453.8 MB, free: 28.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.137e-05/0.008842, allocations: 209.3 kB / 454 MB, free: 28.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008842, allocations: 0 / 454 MB, free: 28.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.009004, allocations: 39.94 kB / 454 MB, free: 28.66 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.0008437/0.009848, allocations: 1.056 MB / 455.1 MB, free: 27.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.009992, allocations: 87.83 kB / 455.2 MB, free: 27.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009994, allocations: 3.938 kB / 455.2 MB, free: 27.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.01004, allocations: 35.98 kB / 455.2 MB, free: 27.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.01023, allocations: 44.58 kB / 455.2 MB, free: 27.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.01152, allocations: 2.061 MB / 457.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.425e-05/0.01157, allocations: 124.8 kB / 457.4 MB, free: 25.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.01162, allocations: 21.48 kB / 457.5 MB, free: 25.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.01168, allocations: 60.48 kB / 457.5 MB, free: 25.21 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01168, allocations: 0 / 457.5 MB, free: 25.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.03166, allocations: 5.403 MB / 462.9 MB, free: 19.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.019, allocations: 8.047 kB / 462.9 MB, free: 19.85 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.05225603748113] Failed to read output from testmodel.py, exit status != 0: 7.1201660968363285 7.127692872 7.120770938 Calling exit ...