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.00143/0.00143, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.432/1.432, allocations: 230.6 MB / 252.7 MB, free: 8.07 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.001783/0.001783, allocations: 214 kB / 309.2 MB, free: 2.941 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.04099/0.04099, allocations: 8.911 MB / 374.6 MB, free: 1.727 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="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: 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.002545/0.002545, allocations: 92.28 kB / 0.4891 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.265, allocations: 55.6 MB / 0.5434 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003276/0.2683, allocations: 2.118 MB / 0.5455 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.2709, allocations: 1.741 MB / 0.5472 GB, free: 24.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.2712, allocations: 7.938 kB / 0.5472 GB, free: 24.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.2717, allocations: 107 kB / 0.5473 GB, free: 24.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.2722, allocations: 149.6 kB / 0.5475 GB, free: 23.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.2726, allocations: 103.7 kB / 0.5476 GB, free: 23.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.2729, allocations: 226.3 kB / 0.5478 GB, free: 23.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.2731, allocations: 33.84 kB / 0.5478 GB, free: 23.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2732, allocations: 100.3 kB / 0.5479 GB, free: 23.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2734, allocations: 118.1 kB / 0.548 GB, free: 23.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.2735, allocations: 12.78 kB / 0.548 GB, free: 23.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2736, allocations: 113.5 kB / 0.5481 GB, free: 23.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.2737, allocations: 51.58 kB / 0.5482 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.2738, allocations: 79.05 kB / 0.5483 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.2741, allocations: 297.7 kB / 0.5485 GB, free: 23.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2741, allocations: 0 / 0.5485 GB, free: 23.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2741, allocations: 3.938 kB / 0.5486 GB, free: 23.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2741, allocations: 0 / 0.5486 GB, free: 23.46 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.0006177/0.2748, allocations: 477.7 kB / 0.549 GB, free: 23.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2748, allocations: 12.53 kB / 0.549 GB, free: 23.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.2748, allocations: 41.34 kB / 0.5491 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.2749, allocations: 26.36 kB / 0.5491 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.2752, allocations: 196 kB / 0.5493 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2752, allocations: 11.05 kB / 0.5493 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.2752, allocations: 14 kB / 0.5493 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.2755, allocations: 190.9 kB / 0.5495 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2755, allocations: 0 / 0.5495 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2755, allocations: 6.812 kB / 0.5495 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2755, allocations: 7.531 kB / 0.5495 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2757, allocations: 75.27 kB / 0.5496 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.2764, allocations: 0.4942 MB / 0.55 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.2768, allocations: 101.7 kB / 0.5501 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.2769, allocations: 40.27 kB / 0.5502 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.2769, allocations: 0 / 0.5502 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.2771, allocations: 129.8 kB / 0.5503 GB, free: 22.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2771, allocations: 0 / 0.5503 GB, free: 22.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003602/0.2774, allocations: 153.2 kB / 0.5505 GB, free: 21.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.2775, allocations: 106.8 kB / 0.5506 GB, free: 21.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.2777, allocations: 284.4 kB / 0.5508 GB, free: 21.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2777, allocations: 32.92 kB / 0.5509 GB, free: 21.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.2778, allocations: 144.2 kB / 0.551 GB, free: 21.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2778, allocations: 33.98 kB / 0.551 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.2778, allocations: 30.73 kB / 0.5511 GB, free: 21.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.2779, allocations: 340 kB / 0.5514 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.278, allocations: 27.59 kB / 0.5514 GB, free: 21.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.278, allocations: 141.3 kB / 0.5515 GB, free: 21.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.2782, allocations: 89.25 kB / 0.5516 GB, free: 20.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2782, allocations: 0 / 0.5516 GB, free: 20.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002245/0.2784, allocations: 137.5 kB / 0.5518 GB, free: 20.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2784, allocations: 10.5 kB / 0.5518 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2784, allocations: 0 / 0.5518 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2784, allocations: 3.219 kB / 0.5518 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.2785, allocations: 30.83 kB / 0.5518 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2785, allocations: 3.344 kB / 0.5518 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.2786, allocations: 13.61 kB / 0.5518 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2786, allocations: 7.234 kB / 0.5518 GB, free: 20.88 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 8.828e-05/0.2787, allocations: 146.3 kB / 0.552 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.2788, allocations: 17.88 kB / 0.552 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.279, allocations: 142.9 kB / 0.5521 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.279, allocations: 0 / 0.5521 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.279, allocations: 0 / 0.5521 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.279, allocations: 0 / 0.5521 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.2792, allocations: 222.5 kB / 0.5523 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2792, allocations: 0 / 0.5523 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.2792, allocations: 16.16 kB / 0.5523 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2792, allocations: 0 / 0.5523 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2792, allocations: 3.281 kB / 0.5523 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2793, allocations: 0 / 0.5523 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2793, allocations: 0 / 0.5523 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.2795, allocations: 211.6 kB / 0.5525 GB, free: 20.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2796, allocations: 18.25 kB / 0.5526 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.2796, allocations: 0 / 0.5526 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.2797, allocations: 9.656 kB / 0.5526 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2797, allocations: 10.44 kB / 0.5526 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2797, allocations: 3.094 kB / 0.5526 GB, free: 20.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.2799, allocations: 215.4 kB / 0.5528 GB, free: 20.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2799, allocations: 0 / 0.5528 GB, free: 20.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000282/0.2802, allocations: 68.22 kB / 0.5529 GB, free: 20.18 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.00207/0.2822, allocations: 1.176 MB / 0.554 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.2825, allocations: 78.97 kB / 0.5541 GB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2825, allocations: 0 / 0.5541 GB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.766e-05/0.2826, allocations: 39.8 kB / 0.5541 GB, free: 19.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.2829, allocations: 37.42 kB / 0.5542 GB, free: 19.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.2851, allocations: 2.138 MB / 0.5562 GB, free: 17.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.158e-05/0.2851, allocations: 126.1 kB / 0.5564 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.2852, allocations: 16.91 kB / 0.5564 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/0.2853, allocations: 69.91 kB / 0.5564 GB, free: 17.65 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2853, allocations: 0 / 0.5564 GB, free: 17.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.3202, allocations: 6.082 MB / 0.5624 GB, free: 16.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.34, allocations: 14.73 kB / 0.5624 GB, free: 16.06 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.033357629552484] Failed to read output from testmodel.py, exit status != 0: 11.504321324639022 11.518580794 11.24148365 Calling exit ...