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.001481/0.001481, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.585/1.585, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.001661/0.001661, allocations: 214.1 kB / 310 MB, free: 3.09 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.04189/0.04189, allocations: 8.913 MB / 375.4 MB, free: 6.793 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.002592/0.002592, allocations: 79.88 kB / 0.49 GB, free: 44.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1281, allocations: 55.61 MB / 0.5443 GB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.004129/0.1322, allocations: 2.228 MB / 0.5465 GB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.1352, allocations: 1.819 MB / 0.5482 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1353, allocations: 4 kB / 0.5482 GB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.1358, allocations: 103.5 kB / 0.5483 GB, free: 1.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.1362, allocations: 147.3 kB / 0.5485 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1365, allocations: 103.6 kB / 0.5486 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1368, allocations: 227.1 kB / 0.5488 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.137, allocations: 41.78 kB / 0.5488 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1372, allocations: 103.6 kB / 0.5489 GB, free: 448 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.1375, allocations: 127.5 kB / 0.549 GB, free: 320 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.1375, allocations: 16 kB / 0.5491 GB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1377, allocations: 115.9 kB / 0.5492 GB, free: 188 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.1378, allocations: 55.75 kB / 0.5492 GB, free: 132 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1379, allocations: 87.48 kB / 0.5493 GB, free: 44 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.1384, allocations: 294.8 kB / 0.5496 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1384, allocations: 4 kB / 0.5496 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1384, allocations: 0 / 0.5496 GB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1385, allocations: 0 / 0.5496 GB, free: 15.75 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.0009507/0.1394, allocations: 480.9 kB / 0.5501 GB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.1395, allocations: 15.92 kB / 0.5501 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.317e-05/0.1395, allocations: 4.422 kB / 0.5501 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.599e-05/0.1395, allocations: 46.73 kB / 0.5501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.1396, allocations: 28.8 kB / 0.5501 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.1401, allocations: 186.4 kB / 0.5503 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1401, allocations: 20.3 kB / 0.5503 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.1401, allocations: 12 kB / 0.5504 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1405, allocations: 145.4 kB / 0.5505 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1405, allocations: 0 / 0.5505 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1405, allocations: 4 kB / 0.5505 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1405, allocations: 4 kB / 0.5505 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1407, allocations: 76.19 kB / 0.5506 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.1417, allocations: 0.5208 MB / 0.5511 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.1421, allocations: 102.7 kB / 0.5512 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.1422, allocations: 32.84 kB / 0.5512 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1423, allocations: 8 kB / 0.5512 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1425, allocations: 96.97 kB / 0.5513 GB, free: 13.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1425, allocations: 0 / 0.5513 GB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004416/0.1429, allocations: 149.5 kB / 0.5515 GB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1431, allocations: 106.8 kB / 0.5516 GB, free: 13.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.1434, allocations: 288.9 kB / 0.5518 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.1435, allocations: 33.69 kB / 0.5519 GB, free: 13.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1436, allocations: 139.9 kB / 0.552 GB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.1436, allocations: 39.72 kB / 0.552 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.1437, allocations: 29.7 kB / 0.5521 GB, free: 13.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1439, allocations: 330.8 kB / 0.5524 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.144, allocations: 31.98 kB / 0.5524 GB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1441, allocations: 81.06 kB / 0.5525 GB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1443, allocations: 95.23 kB / 0.5526 GB, free: 12.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1443, allocations: 0 / 0.5526 GB, free: 12.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003447/0.1447, allocations: 137.5 kB / 0.5527 GB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1447, allocations: 4 kB / 0.5527 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1447, allocations: 4 kB / 0.5527 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1447, allocations: 0 / 0.5527 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1448, allocations: 31.92 kB / 0.5527 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1448, allocations: 4 kB / 0.5527 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1449, allocations: 11.89 kB / 0.5528 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.145, allocations: 4 kB / 0.5528 GB, free: 12.24 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.0001611/0.1451, allocations: 145.9 kB / 0.5529 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1452, allocations: 19.91 kB / 0.5529 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.1455, allocations: 135.6 kB / 0.5531 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1455, allocations: 0 / 0.5531 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1455, allocations: 96 / 0.5531 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1455, allocations: 3.938 kB / 0.5531 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.1457, allocations: 224.5 kB / 0.5533 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1457, allocations: 0 / 0.5533 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.684e-05/0.1458, allocations: 15.94 kB / 0.5533 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1458, allocations: 4 kB / 0.5533 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1458, allocations: 8 kB / 0.5533 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1458, allocations: 3.984 kB / 0.5533 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1458, allocations: 0 / 0.5533 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.1462, allocations: 180.9 kB / 0.5535 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1462, allocations: 19.89 kB / 0.5535 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.1463, allocations: 7.984 kB / 0.5535 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.1463, allocations: 4 kB / 0.5535 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.1464, allocations: 16.05 kB / 0.5535 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1464, allocations: 0 / 0.5535 GB, free: 11.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.1466, allocations: 212.5 kB / 0.5537 GB, free: 11.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1466, allocations: 0 / 0.5537 GB, free: 11.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.1469, allocations: 71.75 kB / 0.5538 GB, free: 11.11 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.002442/0.1494, allocations: 1.124 MB / 0.5549 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.1497, allocations: 71.91 kB / 0.555 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1497, allocations: 3.938 kB / 0.555 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.1498, allocations: 31.98 kB / 0.555 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1501, allocations: 47.06 kB / 0.555 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.153, allocations: 2.125 MB / 0.5571 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1534, allocations: 0.7322 MB / 0.5578 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.1535, allocations: 29.45 kB / 0.5579 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1536, allocations: 67.41 kB / 0.5579 GB, free: 6.926 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1536, allocations: 0 / 0.5579 GB, free: 6.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.1884, allocations: 5.528 MB / 0.5633 GB, free: 1.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/12.85, allocations: 8.062 kB / 0.5633 GB, free: 1.438 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.409468634985387] Failed to read output from testmodel.py, exit status != 0: 13.311048364033923 13.323694813 13.182482405 Calling exit ...