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.001871/0.001871, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.456/1.456, allocations: 230.6 MB / 252.7 MB, free: 8.27 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.001792/0.001792, allocations: 208.5 kB / 309.2 MB, free: 3.137 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.04187/0.04187, allocations: 8.923 MB / 374.6 MB, free: 1.883 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.002534/0.002534, allocations: 83.86 kB / 0.4892 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.332, allocations: 55.59 MB / 0.5435 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002797/0.3348, allocations: 2.217 MB / 0.5457 GB, free: 25.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3367, allocations: 1.826 MB / 0.5475 GB, free: 23.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3368, allocations: 2.969 kB / 0.5475 GB, free: 23.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.3371, allocations: 99.17 kB / 0.5476 GB, free: 23.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.3374, allocations: 159.1 kB / 0.5477 GB, free: 23.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.3376, allocations: 98.98 kB / 0.5478 GB, free: 23.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.3378, allocations: 229.4 kB / 0.548 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3379, allocations: 40.97 kB / 0.5481 GB, free: 23.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.338, allocations: 95.08 kB / 0.5482 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.3384, allocations: 126.7 kB / 0.5483 GB, free: 23.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.3384, allocations: 12.81 kB / 0.5483 GB, free: 23.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3386, allocations: 121.6 kB / 0.5484 GB, free: 23.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.3387, allocations: 61.92 kB / 0.5485 GB, free: 23.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.3387, allocations: 91.7 kB / 0.5485 GB, free: 23.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.339, allocations: 292.1 kB / 0.5488 GB, free: 23.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.339, allocations: 4 kB / 0.5488 GB, free: 23.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.339, allocations: 0 / 0.5488 GB, free: 23.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.339, allocations: 0 / 0.5488 GB, free: 23.3 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.0006185/0.3397, allocations: 472 kB / 0.5493 GB, free: 22.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.3397, allocations: 9.781 kB / 0.5493 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.3397, allocations: 49.31 kB / 0.5493 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.3398, allocations: 25.67 kB / 0.5494 GB, free: 22.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.34, allocations: 193 kB / 0.5495 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.34, allocations: 10.86 kB / 0.5496 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.3401, allocations: 21.7 kB / 0.5496 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3403, allocations: 141.1 kB / 0.5497 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3403, allocations: 3.938 kB / 0.5497 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3403, allocations: 4 kB / 0.5497 GB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3403, allocations: 7.188 kB / 0.5497 GB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3405, allocations: 79.64 kB / 0.5498 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.3411, allocations: 0.5157 MB / 0.5503 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3414, allocations: 103.2 kB / 0.5504 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.3415, allocations: 34.28 kB / 0.5504 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3415, allocations: 0 / 0.5504 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3416, allocations: 100.2 kB / 0.5505 GB, free: 21.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.3417, allocations: 3.312 kB / 0.5505 GB, free: 21.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003112/0.342, allocations: 153 kB / 0.5507 GB, free: 21.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.342, allocations: 102.8 kB / 0.5508 GB, free: 21.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3422, allocations: 286.3 kB / 0.5511 GB, free: 21.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3422, allocations: 25.7 kB / 0.5511 GB, free: 21.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.3423, allocations: 146.6 kB / 0.5512 GB, free: 21.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3423, allocations: 34.03 kB / 0.5512 GB, free: 21.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.3423, allocations: 30.08 kB / 0.5513 GB, free: 21.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.3424, allocations: 339.6 kB / 0.5516 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.3424, allocations: 31.58 kB / 0.5516 GB, free: 21.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.3425, allocations: 67.86 kB / 0.5517 GB, free: 21.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3426, allocations: 99.67 kB / 0.5518 GB, free: 20.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3426, allocations: 0 / 0.5518 GB, free: 20.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000202/0.3428, allocations: 138.3 kB / 0.5519 GB, free: 20.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3429, allocations: 3.156 kB / 0.5519 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3429, allocations: 3.344 kB / 0.5519 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3429, allocations: 384 / 0.5519 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.343, allocations: 28.33 kB / 0.552 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.343, allocations: 3.281 kB / 0.552 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3431, allocations: 24.73 kB / 0.552 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3431, allocations: 7.062 kB / 0.552 GB, free: 20.86 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.11e-05/0.3432, allocations: 144.6 kB / 0.5521 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.3432, allocations: 21.11 kB / 0.5521 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.3434, allocations: 131.8 kB / 0.5523 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3434, allocations: 0 / 0.5523 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3434, allocations: 0 / 0.5523 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3434, allocations: 2.938 kB / 0.5523 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.3436, allocations: 228.6 kB / 0.5525 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3436, allocations: 0 / 0.5525 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.3437, allocations: 16.08 kB / 0.5525 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3437, allocations: 0 / 0.5525 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3437, allocations: 3.938 kB / 0.5525 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3437, allocations: 3.156 kB / 0.5525 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3437, allocations: 0 / 0.5525 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3439, allocations: 183.2 kB / 0.5527 GB, free: 20.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.344, allocations: 29.02 kB / 0.5527 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.344, allocations: 0 / 0.5527 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.3441, allocations: 13.42 kB / 0.5527 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.3441, allocations: 10.33 kB / 0.5527 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3441, allocations: 3 kB / 0.5527 GB, free: 20.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3443, allocations: 210.4 kB / 0.5529 GB, free: 20.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3443, allocations: 3.938 kB / 0.5529 GB, free: 20.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3446, allocations: 67.53 kB / 0.553 GB, free: 20.16 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 (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.001963/0.3465, allocations: 1.113 MB / 0.5541 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3467, allocations: 77.84 kB / 0.5542 GB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3467, allocations: 0 / 0.5542 GB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.3468, allocations: 40.14 kB / 0.5542 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.000293/0.3471, allocations: 40.84 kB / 0.5543 GB, free: 19.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3489, allocations: 2.11 MB / 0.5563 GB, free: 17.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.349, allocations: 0.7393 MB / 0.557 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.155e-05/0.3491, allocations: 28.39 kB / 0.5571 GB, free: 17.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.3492, allocations: 62.44 kB / 0.5571 GB, free: 17.04 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3492, allocations: 0 / 0.5571 GB, free: 17.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.3849, allocations: 5.51 MB / 0.5625 GB, free: 15.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 12.78 kB / 0.5625 GB, free: 15.97 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.TablesFromFile_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Electrical_TablesFromFile.fmu > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.600582642000518] Failed to read output from testmodel.py, exit status != 0: 11.842018709001422 11.855793047 11.513949218 Calling exit ...