Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 104.1 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 198.6 kB / 299.8 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04117/0.04117, allocations: 8.945 MB / 363.6 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 83.69 kB / 486 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1102, allocations: 54.42 MB / 0.5278 GB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003812/0.114, allocations: 2.155 MB / 0.5299 GB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1157, allocations: 0.9702 MB / 0.5308 GB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1158, allocations: 4 kB / 0.5309 GB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.1162, allocations: 103.5 kB / 0.5309 GB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.1165, allocations: 103.5 kB / 0.531 GB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1168, allocations: 131.6 kB / 0.5312 GB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.1171, allocations: 215.2 kB / 0.5314 GB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1173, allocations: 37.67 kB / 0.5314 GB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1174, allocations: 99.61 kB / 0.5315 GB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.1176, allocations: 107.6 kB / 0.5316 GB, free: 13.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.1177, allocations: 12 kB / 0.5316 GB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1178, allocations: 51.98 kB / 0.5317 GB, free: 13.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.1179, allocations: 43.84 kB / 0.5317 GB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.118, allocations: 95.41 kB / 0.5318 GB, free: 13.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.1183, allocations: 227.7 kB / 0.532 GB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1183, allocations: 0 / 0.532 GB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1183, allocations: 0 / 0.532 GB, free: 12.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1184, allocations: 0 / 0.532 GB, free: 12.9 MB / 350.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.000852/0.1192, allocations: 0.5062 MB / 0.5325 GB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1193, allocations: 12.03 kB / 0.5325 GB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.1193, allocations: 38.75 kB / 0.5326 GB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.1194, allocations: 28.73 kB / 0.5326 GB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.1198, allocations: 249.1 kB / 0.5328 GB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1198, allocations: 8.609 kB / 0.5328 GB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.1198, allocations: 23.86 kB / 0.5329 GB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.1201, allocations: 115.5 kB / 0.533 GB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1201, allocations: 4 kB / 0.533 GB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1201, allocations: 4 kB / 0.533 GB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1202, allocations: 7.984 kB / 0.533 GB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1203, allocations: 72.59 kB / 0.5331 GB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.1213, allocations: 0.5459 MB / 0.5336 GB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.1217, allocations: 98.66 kB / 0.5337 GB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.1218, allocations: 36.84 kB / 0.5337 GB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1218, allocations: 7.984 kB / 0.5337 GB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.122, allocations: 101 kB / 0.5338 GB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1221, allocations: 3.938 kB / 0.5338 GB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003818/0.1224, allocations: 137.6 kB / 0.534 GB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.1225, allocations: 85.05 kB / 0.534 GB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.1228, allocations: 264.2 kB / 0.5343 GB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1228, allocations: 29.7 kB / 0.5343 GB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1229, allocations: 139.9 kB / 0.5345 GB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.123, allocations: 31.73 kB / 0.5345 GB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.123, allocations: 29.7 kB / 0.5345 GB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1232, allocations: 334.8 kB / 0.5348 GB, free: 9.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.1233, allocations: 23.98 kB / 0.5349 GB, free: 9.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1234, allocations: 75.22 kB / 0.5349 GB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1235, allocations: 87.36 kB / 0.535 GB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1235, allocations: 0 / 0.535 GB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002563/0.1238, allocations: 149.4 kB / 0.5352 GB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1238, allocations: 4.375 kB / 0.5352 GB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1238, allocations: 4 kB / 0.5352 GB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1238, allocations: 4 kB / 0.5352 GB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.124, allocations: 27.92 kB / 0.5352 GB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.124, allocations: 3.938 kB / 0.5352 GB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.432e-05/0.1241, allocations: 19.89 kB / 0.5352 GB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1241, allocations: 4 kB / 0.5352 GB, free: 9.34 MB / 350.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.0001519/0.1242, allocations: 145.8 kB / 0.5354 GB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.1242, allocations: 15.91 kB / 0.5354 GB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.1243, allocations: 29.38 kB / 0.5354 GB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1243, allocations: 0 / 0.5354 GB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1243, allocations: 0 / 0.5354 GB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1243, allocations: 0 / 0.5354 GB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1246, allocations: 245.4 kB / 0.5356 GB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1246, allocations: 0 / 0.5356 GB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.1247, allocations: 12 kB / 0.5356 GB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1247, allocations: 8 kB / 0.5357 GB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1247, allocations: 11.92 kB / 0.5357 GB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1247, allocations: 0 / 0.5357 GB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1247, allocations: 0 / 0.5357 GB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.1251, allocations: 180.9 kB / 0.5358 GB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.1252, allocations: 93.05 kB / 0.5359 GB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1252, allocations: 3.984 kB / 0.5359 GB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1253, allocations: 12.06 kB / 0.5359 GB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1253, allocations: 7.984 kB / 0.5359 GB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1253, allocations: 4 kB / 0.536 GB, free: 8.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.1255, allocations: 193.6 kB / 0.5361 GB, free: 8.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1255, allocations: 0 / 0.5361 GB, free: 8.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1258, allocations: 47.88 kB / 0.5362 GB, free: 8.246 MB / 350.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.nextTimeEventScaled,table.nextTimeEvent) * 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.002049/0.1278, allocations: 1.035 MB / 0.5372 GB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.1281, allocations: 75.84 kB / 0.5373 GB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1281, allocations: 0 / 0.5373 GB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.1282, allocations: 35.92 kB / 0.5373 GB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1285, allocations: 42.02 kB / 0.5373 GB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.1314, allocations: 2.066 MB / 0.5394 GB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1318, allocations: 0.7319 MB / 0.5401 GB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.19e-05/0.1319, allocations: 17.53 kB / 0.5401 GB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.132, allocations: 59.42 kB / 0.5401 GB, free: 4.211 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.132, allocations: 0 / 0.5401 GB, free: 4.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.1646, allocations: 4.435 MB / 0.5445 GB, free: 15.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.42, allocations: 14.31 kB / 0.5445 GB, free: 15.82 MB / 366.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Tables_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Tables.fmu > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.319072015583515] Failed to read output from testmodel.py, exit status != 0: 8.736539436969906 8.557778754 8.436575423 Calling exit ...