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.001352/0.001352, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.002011/0.002011, allocations: 210.2 kB / 310 MB, free: 3.105 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.04234/0.04234, allocations: 8.922 MB / 375.4 MB, free: 6.566 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.002621/0.002621, allocations: 83.88 kB / 0.4899 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08935, allocations: 55.6 MB / 0.5442 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003893/0.09324, allocations: 2.119 MB / 0.5463 GB, free: 2.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.09601, allocations: 1.734 MB / 0.548 GB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.09615, allocations: 4 kB / 0.548 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.0965, allocations: 107.5 kB / 0.5481 GB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.09698, allocations: 159.2 kB / 0.5482 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.09724, allocations: 99.69 kB / 0.5483 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.09757, allocations: 227.1 kB / 0.5485 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.09771, allocations: 37.78 kB / 0.5486 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.09787, allocations: 99.62 kB / 0.5487 GB, free: 460 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.09811, allocations: 119.5 kB / 0.5488 GB, free: 340 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.09814, allocations: 12 kB / 0.5488 GB, free: 328 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.09837, allocations: 115.9 kB / 0.5489 GB, free: 212 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.09846, allocations: 63.75 kB / 0.549 GB, free: 148 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.772e-05/0.09856, allocations: 71.61 kB / 0.549 GB, free: 76 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.09904, allocations: 294.9 kB / 0.5493 GB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09904, allocations: 0 / 0.5493 GB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09904, allocations: 0 / 0.5493 GB, free: 15.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.09905, allocations: 0 / 0.5493 GB, free: 15.78 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.0008053/0.09985, allocations: 476.9 kB / 0.5498 GB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.09989, allocations: 15.98 kB / 0.5498 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.05e-05/0.09992, allocations: 4.422 kB / 0.5498 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.09997, allocations: 54.58 kB / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.1, allocations: 20.8 kB / 0.5499 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1004, allocations: 186.2 kB / 0.55 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1004, allocations: 12.36 kB / 0.5501 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.1004, allocations: 8 kB / 0.5501 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1008, allocations: 204.8 kB / 0.5503 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1008, allocations: 4 kB / 0.5503 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1008, allocations: 4 kB / 0.5503 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1008, allocations: 4 kB / 0.5503 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.101, allocations: 80.42 kB / 0.5503 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.1019, allocations: 0.4935 MB / 0.5508 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.1023, allocations: 106.7 kB / 0.5509 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.1024, allocations: 32.84 kB / 0.551 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.1024, allocations: 0 / 0.551 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.1026, allocations: 134.7 kB / 0.5511 GB, free: 13.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1026, allocations: 4 kB / 0.5511 GB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004145/0.1031, allocations: 153.5 kB / 0.5512 GB, free: 13.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.1031, allocations: 102.8 kB / 0.5513 GB, free: 13.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.1035, allocations: 288.9 kB / 0.5516 GB, free: 13.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1035, allocations: 29.7 kB / 0.5516 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1036, allocations: 147.9 kB / 0.5518 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.1037, allocations: 39.72 kB / 0.5518 GB, free: 13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.1037, allocations: 29.7 kB / 0.5518 GB, free: 12.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1039, allocations: 334.8 kB / 0.5522 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.104, allocations: 27.98 kB / 0.5522 GB, free: 12.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1041, allocations: 132.5 kB / 0.5523 GB, free: 12.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.1043, allocations: 99.23 kB / 0.5524 GB, free: 12.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1043, allocations: 0 / 0.5524 GB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002844/0.1046, allocations: 137.5 kB / 0.5525 GB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1046, allocations: 4 kB / 0.5525 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1046, allocations: 128 / 0.5525 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1046, allocations: 8 kB / 0.5526 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1047, allocations: 23.98 kB / 0.5526 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1047, allocations: 3.938 kB / 0.5526 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1048, allocations: 23.88 kB / 0.5526 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1049, allocations: 4 kB / 0.5526 GB, free: 12.12 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.000147/0.105, allocations: 137.8 kB / 0.5527 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.105, allocations: 23.89 kB / 0.5528 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.1054, allocations: 139.2 kB / 0.5529 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1054, allocations: 7.984 kB / 0.5529 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1054, allocations: 4 kB / 0.5529 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1054, allocations: 0 / 0.5529 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1056, allocations: 204.6 kB / 0.5531 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1056, allocations: 0 / 0.5531 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.1057, allocations: 16 kB / 0.5531 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1057, allocations: 0 / 0.5531 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1057, allocations: 4 kB / 0.5531 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1057, allocations: 384 / 0.5531 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1057, allocations: 7.984 kB / 0.5531 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.1061, allocations: 200.8 kB / 0.5533 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.1061, allocations: 23.92 kB / 0.5533 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.1062, allocations: 11.94 kB / 0.5534 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.1063, allocations: 4 kB / 0.5534 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1063, allocations: 3.984 kB / 0.5534 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1063, allocations: 4 kB / 0.5534 GB, free: 11.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1066, allocations: 220.4 kB / 0.5536 GB, free: 11.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1066, allocations: 0 / 0.5536 GB, free: 11.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1069, allocations: 67.83 kB / 0.5536 GB, free: 10.98 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.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.002543/0.1094, allocations: 1.175 MB / 0.5548 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1097, allocations: 79.91 kB / 0.5549 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1097, allocations: 0 / 0.5549 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.185e-05/0.1098, allocations: 31.98 kB / 0.5549 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1101, allocations: 48.38 kB / 0.5549 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.113, allocations: 2.122 MB / 0.557 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.1131, allocations: 136.9 kB / 0.5571 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.15e-05/0.1132, allocations: 25.45 kB / 0.5572 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1133, allocations: 63.41 kB / 0.5572 GB, free: 7.387 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1133, allocations: 0 / 0.5572 GB, free: 7.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.1462, allocations: 5.762 MB / 0.5629 GB, free: 1.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.41, allocations: 0 / 0.5629 GB, free: 1.668 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.42572860501241] Failed to read output from testmodel.py, exit status != 0: 11.627542198984884 11.804486181 11.702601083 Calling exit ...