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.001439/0.001439, allocations: 116.1 kB / 17.17 MB, free: 6 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.678/1.678, allocations: 230.6 MB / 250.5 MB, free: 9.195 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.002018/0.002018, allocations: 204.6 kB / 306.7 MB, free: 4.273 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.04299/0.04299, allocations: 8.917 MB / 371.7 MB, free: 3.398 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.TablesFromFile,fileNamePrefix="HanserModelica_HanserModelica_Electrical_TablesFromFile",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.TablesFromFile,fileNamePrefix="HanserModelica_HanserModelica_Electrical_TablesFromFile",fmuType="cs",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.002861/0.002861, allocations: 79.88 kB / 496.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4874, allocations: 55.56 MB / 0.5391 GB, free: 26.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003765/0.4911, allocations: 2.207 MB / 0.5412 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.4936, allocations: 1.71 MB / 0.5429 GB, free: 23.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.4938, allocations: 3.375 kB / 0.5429 GB, free: 23.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.4942, allocations: 117.6 kB / 0.543 GB, free: 23.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.4947, allocations: 147.3 kB / 0.5431 GB, free: 23.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.4949, allocations: 97.8 kB / 0.5432 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.4952, allocations: 233.6 kB / 0.5435 GB, free: 23.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.4953, allocations: 33.59 kB / 0.5435 GB, free: 23.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.4954, allocations: 106 kB / 0.5436 GB, free: 23.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.4958, allocations: 119.3 kB / 0.5437 GB, free: 23.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.4959, allocations: 19.62 kB / 0.5437 GB, free: 23.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.496, allocations: 124.3 kB / 0.5438 GB, free: 23.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.4961, allocations: 51.03 kB / 0.5439 GB, free: 23.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.4962, allocations: 91.64 kB / 0.544 GB, free: 23.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.4966, allocations: 295.2 kB / 0.5443 GB, free: 23.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4966, allocations: 3.938 kB / 0.5443 GB, free: 23.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4966, allocations: 0 / 0.5443 GB, free: 23.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4966, allocations: 0 / 0.5443 GB, free: 23.19 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.0007179/0.4973, allocations: 0.5398 MB / 0.5448 GB, free: 22.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4973, allocations: 8.844 kB / 0.5448 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.283e-05/0.4974, allocations: 3.578 kB / 0.5448 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.4974, allocations: 48.39 kB / 0.5449 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.4975, allocations: 26.14 kB / 0.5449 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.4978, allocations: 261.3 kB / 0.5451 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4978, allocations: 14.36 kB / 0.5451 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4979, allocations: 6.031 kB / 0.5451 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.4981, allocations: 149.1 kB / 0.5453 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4981, allocations: 0 / 0.5453 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.4982, allocations: 7.188 kB / 0.5453 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.4982, allocations: 3.094 kB / 0.5453 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.4983, allocations: 77 kB / 0.5454 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.4991, allocations: 0.5518 MB / 0.5459 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.4995, allocations: 99.98 kB / 0.546 GB, free: 21.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.4996, allocations: 31.72 kB / 0.546 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.4996, allocations: 3.094 kB / 0.546 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.4998, allocations: 101.4 kB / 0.5461 GB, free: 21.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.4998, allocations: 3.938 kB / 0.5461 GB, free: 21.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003499/0.5001, allocations: 154.2 kB / 0.5463 GB, free: 21.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.5002, allocations: 110 kB / 0.5464 GB, free: 21.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.5004, allocations: 277.4 kB / 0.5467 GB, free: 21.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.5004, allocations: 32.73 kB / 0.5467 GB, free: 21.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.5005, allocations: 140.5 kB / 0.5468 GB, free: 21.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.5005, allocations: 41.59 kB / 0.5469 GB, free: 21.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.5006, allocations: 29.95 kB / 0.5469 GB, free: 21.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.5007, allocations: 335.6 kB / 0.5472 GB, free: 20.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.5007, allocations: 26.52 kB / 0.5472 GB, free: 20.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.5008, allocations: 66.95 kB / 0.5473 GB, free: 20.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.5009, allocations: 96.56 kB / 0.5474 GB, free: 20.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5009, allocations: 0 / 0.5474 GB, free: 20.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002107/0.5012, allocations: 142.4 kB / 0.5475 GB, free: 20.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5012, allocations: 3.25 kB / 0.5475 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5012, allocations: 3.188 kB / 0.5475 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5012, allocations: 4.094 kB / 0.5475 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5013, allocations: 29.25 kB / 0.5476 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.5013, allocations: 0 / 0.5476 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.574e-05/0.5014, allocations: 24.84 kB / 0.5476 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5014, allocations: 3.281 kB / 0.5476 GB, free: 20.55 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.0001019/0.5015, allocations: 140.6 kB / 0.5477 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.5015, allocations: 16.78 kB / 0.5477 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.5016, allocations: 27.59 kB / 0.5478 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5016, allocations: 7.188 kB / 0.5478 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5016, allocations: 0 / 0.5478 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5016, allocations: 0 / 0.5478 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.5018, allocations: 254.7 kB / 0.548 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5018, allocations: 0 / 0.548 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.5019, allocations: 16.22 kB / 0.548 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5019, allocations: 0 / 0.548 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5019, allocations: 7.156 kB / 0.548 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5019, allocations: 0 / 0.548 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5019, allocations: 0 / 0.548 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.5022, allocations: 191.2 kB / 0.5482 GB, free: 20.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.5022, allocations: 106.7 kB / 0.5483 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.5022, allocations: 0 / 0.5483 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.5023, allocations: 6.469 kB / 0.5483 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.5024, allocations: 10.5 kB / 0.5483 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.5024, allocations: 3.312 kB / 0.5483 GB, free: 19.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.5025, allocations: 208.8 kB / 0.5485 GB, free: 19.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5025, allocations: 7.25 kB / 0.5486 GB, free: 19.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.5028, allocations: 66.61 kB / 0.5486 GB, free: 19.77 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.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.002084/0.5049, allocations: 1.12 MB / 0.5497 GB, free: 18.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.5051, allocations: 73.94 kB / 0.5498 GB, free: 18.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5051, allocations: 8.125 kB / 0.5498 GB, free: 18.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.5052, allocations: 34.14 kB / 0.5498 GB, free: 18.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.5055, allocations: 36.62 kB / 0.5499 GB, free: 18.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.5076, allocations: 2.126 MB / 0.5519 GB, free: 17.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.5078, allocations: 0.736 MB / 0.5527 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.747e-05/0.5079, allocations: 20.39 kB / 0.5527 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.508, allocations: 71.02 kB / 0.5527 GB, free: 16.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.508, allocations: 0 / 0.5527 GB, free: 16.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.5336, allocations: 5.347 MB / 0.558 GB, free: 15.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.447/9.98, allocations: 11.03 kB / 0.558 GB, free: 15.62 MB / 382.1 MB " [Timeout remaining time 650] (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: 13.256049920979422] Failed to read output from testmodel.py, exit status != 0: 10.162861705000978 10.180956893 9.680046397 Calling exit ...