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.001338/0.001338, 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.463/1.463, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.001791/0.001791, allocations: 214 kB / 309.2 MB, free: 3.145 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.04284/0.04284, allocations: 8.916 MB / 374.6 MB, free: 1.902 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.002512/0.002512, allocations: 91.78 kB / 0.4892 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3425, allocations: 55.59 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.00369/0.3462, allocations: 2.236 MB / 0.5457 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.3485, allocations: 1.804 MB / 0.5475 GB, free: 23.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3487, allocations: 7.25 kB / 0.5475 GB, free: 23.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.349, allocations: 113 kB / 0.5476 GB, free: 23.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.3494, allocations: 147.6 kB / 0.5477 GB, free: 23.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3496, allocations: 102.7 kB / 0.5478 GB, free: 23.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.3499, allocations: 236.6 kB / 0.548 GB, free: 23.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.35, allocations: 30.17 kB / 0.5481 GB, free: 23.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3501, allocations: 106.1 kB / 0.5482 GB, free: 23.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.3505, allocations: 123.5 kB / 0.5483 GB, free: 23.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3505, allocations: 16.59 kB / 0.5483 GB, free: 23.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.3507, allocations: 120.5 kB / 0.5484 GB, free: 23.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.3507, allocations: 54.41 kB / 0.5485 GB, free: 23.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.3508, allocations: 95.8 kB / 0.5486 GB, free: 23.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.3511, allocations: 296.8 kB / 0.5488 GB, free: 23.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3511, allocations: 0 / 0.5488 GB, free: 23.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3511, allocations: 0 / 0.5488 GB, free: 23.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.3512, allocations: 0 / 0.5488 GB, free: 23.34 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.0006797/0.3518, allocations: 476.9 kB / 0.5493 GB, free: 22.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3519, allocations: 9.688 kB / 0.5493 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.3519, allocations: 45.55 kB / 0.5493 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.352, allocations: 22.36 kB / 0.5494 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3523, allocations: 195.7 kB / 0.5495 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3523, allocations: 7.891 kB / 0.5496 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.3523, allocations: 20.92 kB / 0.5496 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.3526, allocations: 146.3 kB / 0.5497 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3526, allocations: 4 kB / 0.5497 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3526, allocations: 2.906 kB / 0.5497 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3526, allocations: 3.312 kB / 0.5497 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3527, allocations: 77.42 kB / 0.5498 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.3534, allocations: 0.5045 MB / 0.5503 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.3538, allocations: 112 kB / 0.5504 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.3538, allocations: 35.05 kB / 0.5504 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3539, allocations: 0 / 0.5504 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.354, allocations: 109.7 kB / 0.5505 GB, free: 22.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.354, allocations: 3.938 kB / 0.5505 GB, free: 22.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003314/0.3544, allocations: 151.1 kB / 0.5507 GB, free: 21.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3544, allocations: 110 kB / 0.5508 GB, free: 21.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.3546, allocations: 278.8 kB / 0.5511 GB, free: 21.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3546, allocations: 29.7 kB / 0.5511 GB, free: 21.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.3547, allocations: 142.8 kB / 0.5512 GB, free: 21.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3547, allocations: 30.17 kB / 0.5512 GB, free: 21.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.3548, allocations: 41.25 kB / 0.5513 GB, free: 21.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.3548, allocations: 332.9 kB / 0.5516 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.3549, allocations: 26.3 kB / 0.5516 GB, free: 21.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.355, allocations: 68.97 kB / 0.5517 GB, free: 21.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3551, allocations: 90.64 kB / 0.5518 GB, free: 21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3551, allocations: 0 / 0.5518 GB, free: 21 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002417/0.3554, allocations: 147.7 kB / 0.5519 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3554, allocations: 6.219 kB / 0.5519 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3554, allocations: 3 kB / 0.5519 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3554, allocations: 0 / 0.5519 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3555, allocations: 24.84 kB / 0.552 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3555, allocations: 4 kB / 0.552 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.3556, allocations: 14.52 kB / 0.552 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3556, allocations: 6.781 kB / 0.552 GB, free: 20.9 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.0001014/0.3557, allocations: 144.6 kB / 0.5521 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3558, allocations: 17.16 kB / 0.5521 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.356, allocations: 138.2 kB / 0.5523 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.356, allocations: 3.312 kB / 0.5523 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.356, allocations: 4 kB / 0.5523 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.356, allocations: 0 / 0.5523 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.3562, allocations: 226.5 kB / 0.5525 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3562, allocations: 3.25 kB / 0.5525 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.3563, allocations: 12.19 kB / 0.5525 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3563, allocations: 0 / 0.5525 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3563, allocations: 0 / 0.5525 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3563, allocations: 6.484 kB / 0.5525 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3563, allocations: 0 / 0.5525 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.3566, allocations: 192.4 kB / 0.5527 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.3566, allocations: 18.17 kB / 0.5527 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3566, allocations: 6.703 kB / 0.5527 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.3567, allocations: 7.156 kB / 0.5527 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3568, allocations: 6.531 kB / 0.5527 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3568, allocations: 3.031 kB / 0.5527 GB, free: 20.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.3569, allocations: 212.7 kB / 0.5529 GB, free: 20.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3569, allocations: 0 / 0.5529 GB, free: 20.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.3572, allocations: 75.8 kB / 0.553 GB, free: 20.2 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.002093/0.3593, allocations: 1.114 MB / 0.5541 GB, free: 19.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.3595, allocations: 74.66 kB / 0.5542 GB, free: 19.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3595, allocations: 0 / 0.5542 GB, free: 19.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3597, allocations: 44.2 kB / 0.5542 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.36, allocations: 38.53 kB / 0.5542 GB, free: 19.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3619, allocations: 2.111 MB / 0.5563 GB, free: 17.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3621, allocations: 0.7395 MB / 0.557 GB, free: 17.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.3621, allocations: 24.81 kB / 0.5571 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.3622, allocations: 66.36 kB / 0.5571 GB, free: 17.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3622, allocations: 4 kB / 0.5571 GB, free: 17.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.3993, allocations: 5.501 MB / 0.5625 GB, free: 16.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 16.03 kB / 0.5625 GB, free: 16.01 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.623483299044892] Failed to read output from testmodel.py, exit status != 0: 11.937286560190842 11.95942982 11.604206548 Calling exit ...