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.0008008/0.0008008, 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.8903/0.8903, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.00118/0.00118, allocations: 155.1 kB / 255.9 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.02227/0.02227, 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 2.024e-06/2.024e-06, allocations: 3.938 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.975e-05, allocations: 4.672 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002438/0.002457, allocations: 2.117 MB / 447.5 MB, free: 35.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003927, allocations: 1.757 MB / 449.3 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.004094, allocations: 3.938 kB / 449.3 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.00444, allocations: 103.5 kB / 449.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.004812, allocations: 159.1 kB / 449.5 MB, free: 33.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.004987, allocations: 107.5 kB / 449.6 MB, free: 33.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.005202, allocations: 231.1 kB / 449.9 MB, free: 33.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.005337, allocations: 41.78 kB / 449.9 MB, free: 33.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.00547, allocations: 127.6 kB / 450 MB, free: 32.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.005646, allocations: 103.7 kB / 450.1 MB, free: 32.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.005674, allocations: 16 kB / 450.1 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.005833, allocations: 107.9 kB / 450.2 MB, free: 32.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.005897, allocations: 55.7 kB / 450.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.005958, allocations: 59.83 kB / 450.4 MB, free: 32.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.006293, allocations: 303 kB / 450.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006295, allocations: 0 / 450.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006296, allocations: 0 / 450.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006301, allocations: 7.938 kB / 450.7 MB, free: 32.32 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.0004681/0.006769, allocations: 472.9 kB / 451.1 MB, free: 31.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.006802, allocations: 11.97 kB / 451.1 MB, free: 31.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.00683, allocations: 46.73 kB / 451.2 MB, free: 31.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.006869, allocations: 24.8 kB / 451.2 MB, free: 31.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.007066, allocations: 189.3 kB / 451.4 MB, free: 31.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.007079, allocations: 12.61 kB / 451.4 MB, free: 31.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.007098, allocations: 8.375 kB / 451.4 MB, free: 31.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.007276, allocations: 207.3 kB / 451.6 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.007283, allocations: 0 / 451.6 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.007295, allocations: 4 kB / 451.6 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.0073, allocations: 4 kB / 451.6 MB, free: 31.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.101e-05/0.007391, allocations: 72.67 kB / 451.7 MB, free: 31.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.007827, allocations: 0.4901 MB / 452.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.00806, allocations: 106.7 kB / 452.3 MB, free: 30.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.008102, allocations: 40.77 kB / 452.3 MB, free: 30.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.008116, allocations: 7.938 kB / 452.3 MB, free: 30.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.008234, allocations: 126.8 kB / 452.5 MB, free: 30.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.008235, allocations: 0 / 452.5 MB, free: 30.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002217/0.008456, allocations: 153.4 kB / 452.6 MB, free: 30.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.008483, allocations: 107.2 kB / 452.7 MB, free: 30.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.008643, allocations: 289.7 kB / 453 MB, free: 29.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.008652, allocations: 25.7 kB / 453 MB, free: 29.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.008703, allocations: 151.9 kB / 453.2 MB, free: 29.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.00872, allocations: 35.67 kB / 453.2 MB, free: 29.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.008752, allocations: 29.72 kB / 453.2 MB, free: 29.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.501e-05/0.008787, allocations: 334.8 kB / 453.6 MB, free: 29.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.008826, allocations: 31.92 kB / 453.6 MB, free: 29.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.008886, allocations: 127.3 kB / 453.7 MB, free: 28.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.698e-05/0.008973, allocations: 95.23 kB / 453.8 MB, free: 28.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008976, allocations: 4 kB / 453.8 MB, free: 28.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001268/0.009103, allocations: 149.4 kB / 454 MB, free: 28.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.009114, allocations: 8 kB / 454 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.009119, allocations: 0 / 454 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.009131, allocations: 0 / 454 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.009189, allocations: 27.92 kB / 454 MB, free: 28.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.009194, allocations: 4 kB / 454 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.009247, allocations: 19.89 kB / 454 MB, free: 28.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.009253, allocations: 4 kB / 454 MB, free: 28.67 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.334e-05/0.009317, allocations: 141.9 kB / 454.2 MB, free: 28.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.009332, allocations: 19.84 kB / 454.2 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.009481, allocations: 143.3 kB / 454.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009483, allocations: 0 / 454.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009486, allocations: 4 kB / 454.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00949, allocations: 3.984 kB / 454.3 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.009587, allocations: 204.6 kB / 454.5 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.009587, allocations: 0 / 454.5 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.009633, allocations: 15.98 kB / 454.5 MB, free: 28.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.009635, allocations: 0 / 454.5 MB, free: 28.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.009644, allocations: 12 kB / 454.6 MB, free: 28.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.009644, allocations: 0 / 454.6 MB, free: 28.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009645, allocations: 0 / 454.6 MB, free: 28.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.009831, allocations: 200.8 kB / 454.7 MB, free: 27.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.009852, allocations: 27.86 kB / 454.8 MB, free: 27.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.00987, allocations: 0 / 454.8 MB, free: 27.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.009908, allocations: 8 kB / 454.8 MB, free: 27.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.009933, allocations: 7.984 kB / 454.8 MB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.009944, allocations: 4 kB / 454.8 MB, free: 27.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.01004, allocations: 221.3 kB / 455 MB, free: 27.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01004, allocations: 0 / 455 MB, free: 27.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.01021, allocations: 63.81 kB / 455.1 MB, free: 27.55 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.0009408/0.01115, allocations: 1.179 MB / 456.3 MB, free: 26.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.0113, allocations: 79.91 kB / 456.3 MB, free: 26.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.0113, allocations: 0 / 456.3 MB, free: 26.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/0.01135, allocations: 31.98 kB / 456.4 MB, free: 26.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01153, allocations: 44.91 kB / 456.4 MB, free: 26.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.01278, allocations: 2.115 MB / 458.5 MB, free: 24.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.01284, allocations: 132.9 kB / 458.7 MB, free: 24.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.01289, allocations: 17.48 kB / 458.7 MB, free: 24.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.01294, allocations: 60.47 kB / 458.7 MB, free: 23.97 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01294, allocations: 4 kB / 458.7 MB, free: 23.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.03287, allocations: 6.225 MB / 465 MB, free: 17.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/6.801, allocations: 0 / 465 MB, free: 17.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_TablesFromFile_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_TablesFromFile.fmu > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.682188868522644] Failed to read output from testmodel.py, exit status != 0: 6.90225546900183 6.909047043 6.901398534 Calling exit ...