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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 104.4 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 199.9 kB / 299.8 MB, free: 9.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04219/0.04219, allocations: 8.94 MB / 363.7 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002408/0.002408, allocations: 80.66 kB / 486.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1152, allocations: 54.41 MB / 0.5278 GB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003836/0.119, allocations: 2.172 MB / 0.5299 GB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.1214, allocations: 1.577 MB / 0.5315 GB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1215, allocations: 4 kB / 0.5315 GB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.1219, allocations: 107.5 kB / 0.5316 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.1222, allocations: 107.4 kB / 0.5317 GB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.1226, allocations: 137.7 kB / 0.5318 GB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.1229, allocations: 215.2 kB / 0.532 GB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1231, allocations: 48.12 kB / 0.5321 GB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1232, allocations: 99.61 kB / 0.5322 GB, free: 12.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.1238, allocations: 119.5 kB / 0.5323 GB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.1238, allocations: 12 kB / 0.5323 GB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.124, allocations: 71.97 kB / 0.5323 GB, free: 12.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.124, allocations: 43.84 kB / 0.5324 GB, free: 12.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1241, allocations: 91.47 kB / 0.5325 GB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.1245, allocations: 250.8 kB / 0.5327 GB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1245, allocations: 0 / 0.5327 GB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1245, allocations: 4 kB / 0.5327 GB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1245, allocations: 0 / 0.5327 GB, free: 12.29 MB / 350.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.0008577/0.1254, allocations: 0.5178 MB / 0.5332 GB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1254, allocations: 8.031 kB / 0.5332 GB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.1255, allocations: 42.73 kB / 0.5333 GB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.1256, allocations: 24.8 kB / 0.5333 GB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.126, allocations: 245.2 kB / 0.5335 GB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.126, allocations: 12.61 kB / 0.5335 GB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.126, allocations: 15.94 kB / 0.5336 GB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1263, allocations: 145.4 kB / 0.5337 GB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1263, allocations: 3.984 kB / 0.5337 GB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1263, allocations: 7.938 kB / 0.5337 GB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1263, allocations: 7.938 kB / 0.5337 GB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1265, allocations: 64.67 kB / 0.5338 GB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009009/0.1274, allocations: 0.5495 MB / 0.5343 GB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1278, allocations: 106.7 kB / 0.5344 GB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.1279, allocations: 32.84 kB / 0.5344 GB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1279, allocations: 4 kB / 0.5344 GB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.1281, allocations: 101 kB / 0.5345 GB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.1281, allocations: 0 / 0.5345 GB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000376/0.1285, allocations: 145.5 kB / 0.5347 GB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.1286, allocations: 102.8 kB / 0.5348 GB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.1289, allocations: 280.9 kB / 0.535 GB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1289, allocations: 29.69 kB / 0.5351 GB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1291, allocations: 136 kB / 0.5352 GB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.1291, allocations: 35.73 kB / 0.5352 GB, free: 9.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.1292, allocations: 37.66 kB / 0.5353 GB, free: 9.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1293, allocations: 330.8 kB / 0.5356 GB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.1294, allocations: 27.98 kB / 0.5356 GB, free: 9.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1295, allocations: 73.12 kB / 0.5357 GB, free: 8.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1297, allocations: 87.36 kB / 0.5358 GB, free: 8.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1297, allocations: 0 / 0.5358 GB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002651/0.13, allocations: 141.4 kB / 0.5359 GB, free: 8.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.13, allocations: 10.66 kB / 0.5359 GB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.13, allocations: 384 / 0.5359 GB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.13, allocations: 4 kB / 0.5359 GB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1301, allocations: 27.98 kB / 0.5359 GB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1301, allocations: 0 / 0.5359 GB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1302, allocations: 19.83 kB / 0.536 GB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1302, allocations: 4 kB / 0.536 GB, free: 8.656 MB / 350.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.000164/0.1304, allocations: 153.8 kB / 0.5361 GB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1304, allocations: 19.86 kB / 0.5361 GB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.1305, allocations: 25.7 kB / 0.5362 GB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1305, allocations: 0 / 0.5362 GB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1305, allocations: 4 kB / 0.5362 GB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1305, allocations: 0 / 0.5362 GB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1308, allocations: 245.5 kB / 0.5364 GB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1308, allocations: 0 / 0.5364 GB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.1309, allocations: 15.98 kB / 0.5364 GB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1309, allocations: 0 / 0.5364 GB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1309, allocations: 4 kB / 0.5364 GB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1309, allocations: 4 kB / 0.5364 GB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1309, allocations: 4 kB / 0.5364 GB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1313, allocations: 188.8 kB / 0.5366 GB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.1314, allocations: 89.05 kB / 0.5367 GB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1314, allocations: 0 / 0.5367 GB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.1315, allocations: 11.94 kB / 0.5367 GB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1315, allocations: 12.05 kB / 0.5367 GB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1315, allocations: 4 kB / 0.5367 GB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.1318, allocations: 212.4 kB / 0.5369 GB, free: 7.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1318, allocations: 0 / 0.5369 GB, free: 7.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000283/0.132, allocations: 47.83 kB / 0.537 GB, free: 7.535 MB / 350.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.nextTimeEventScaled,table.nextTimeEvent) * 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.002146/0.1342, allocations: 1.065 MB / 0.538 GB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1344, allocations: 71.91 kB / 0.5381 GB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1344, allocations: 3.938 kB / 0.5381 GB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.1345, allocations: 40.11 kB / 0.5381 GB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1348, allocations: 45.17 kB / 0.5382 GB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.1374, allocations: 2.07 MB / 0.5402 GB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1378, allocations: 0.7436 MB / 0.5409 GB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.1379, allocations: 17.53 kB / 0.5409 GB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.138, allocations: 59.41 kB / 0.541 GB, free: 3.453 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.138, allocations: 0 / 0.541 GB, free: 3.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.173, allocations: 4.845 MB / 0.5457 GB, free: 14.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.294, allocations: 0 / 0.5457 GB, free: 14.63 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.357910824939609] Failed to read output from testmodel.py, exit status != 0: 8.625957983080298 8.435884267 8.307075506 Calling exit ...