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.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.001604/0.001604, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.51/1.51, allocations: 230.6 MB / 252.7 MB, free: 14.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.00159/0.00159, allocations: 194.1 kB / 309.2 MB, free: 3.172 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.04062/0.04062, allocations: 8.922 MB / 374.6 MB, free: 6.598 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.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: 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.002511/0.002511, allocations: 88.3 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.086, allocations: 55.61 MB / 0.5434 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003663/0.08966, allocations: 2.097 MB / 0.5455 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.09153, allocations: 1.056 MB / 0.5465 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.09162, allocations: 4 kB / 0.5465 GB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.09198, allocations: 103.5 kB / 0.5466 GB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.09239, allocations: 151.3 kB / 0.5468 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.09263, allocations: 95.64 kB / 0.5469 GB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.09295, allocations: 227.2 kB / 0.5471 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.09308, allocations: 29.8 kB / 0.5471 GB, free: 1.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.0932, allocations: 95.62 kB / 0.5472 GB, free: 1.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.09337, allocations: 107.6 kB / 0.5473 GB, free: 1.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.0934, allocations: 19.94 kB / 0.5473 GB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.09351, allocations: 51.98 kB / 0.5474 GB, free: 1.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.09359, allocations: 51.72 kB / 0.5474 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.09367, allocations: 71.64 kB / 0.5475 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.094, allocations: 239 kB / 0.5477 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.094, allocations: 4 kB / 0.5477 GB, free: 0.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.094, allocations: 0 / 0.5477 GB, free: 0.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.09401, allocations: 0 / 0.5477 GB, free: 0.668 MB / 366.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.0007319/0.09474, allocations: 445.2 kB / 0.5481 GB, free: 208 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.09478, allocations: 15.98 kB / 0.5482 GB, free: 192 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.09484, allocations: 42.75 kB / 0.5482 GB, free: 140 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.09489, allocations: 28.73 kB / 0.5482 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.09526, allocations: 189.9 kB / 0.5484 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.09528, allocations: 12.59 kB / 0.5484 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.09532, allocations: 15.94 kB / 0.5484 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.09562, allocations: 153.1 kB / 0.5486 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.09563, allocations: 0 / 0.5486 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.09565, allocations: 4 kB / 0.5486 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.09567, allocations: 4 kB / 0.5486 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.09584, allocations: 76.67 kB / 0.5487 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008791/0.09672, allocations: 0.4899 MB / 0.5491 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.09712, allocations: 110.6 kB / 0.5492 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.09721, allocations: 32.84 kB / 0.5493 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.09722, allocations: 0 / 0.5493 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.09747, allocations: 134.7 kB / 0.5494 GB, free: 14.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.09748, allocations: 0 / 0.5494 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004008/0.09788, allocations: 145.8 kB / 0.5495 GB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.09795, allocations: 81.11 kB / 0.5496 GB, free: 14.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.09828, allocations: 281 kB / 0.5499 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.0983, allocations: 29.64 kB / 0.5499 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.09843, allocations: 140 kB / 0.55 GB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.09848, allocations: 39.69 kB / 0.5501 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.09854, allocations: 29.72 kB / 0.5501 GB, free: 14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.09872, allocations: 334.8 kB / 0.5504 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.0988, allocations: 31.98 kB / 0.5505 GB, free: 13.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.09894, allocations: 92.5 kB / 0.5506 GB, free: 13.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.09912, allocations: 99.3 kB / 0.5506 GB, free: 13.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.09912, allocations: 0 / 0.5506 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002954/0.09941, allocations: 141.4 kB / 0.5508 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.09943, allocations: 4 kB / 0.5508 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.09944, allocations: 4.125 kB / 0.5508 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.09946, allocations: 4 kB / 0.5508 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.09957, allocations: 23.98 kB / 0.5508 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.09958, allocations: 0 / 0.5508 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.09968, allocations: 19.89 kB / 0.5508 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.09969, allocations: 4 kB / 0.5508 GB, free: 13.21 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.00015/0.09984, allocations: 145.7 kB / 0.551 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.09987, allocations: 19.86 kB / 0.551 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.1002, allocations: 135.4 kB / 0.5511 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1002, allocations: 11.94 kB / 0.5511 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1002, allocations: 0 / 0.5511 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1002, allocations: 3.984 kB / 0.5511 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1004, allocations: 208.6 kB / 0.5513 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1004, allocations: 0 / 0.5513 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.1005, allocations: 19.92 kB / 0.5514 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1005, allocations: 0 / 0.5514 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1005, allocations: 8 kB / 0.5514 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1005, allocations: 0 / 0.5514 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1005, allocations: 0 / 0.5514 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.1009, allocations: 208.8 kB / 0.5516 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.101, allocations: 15.89 kB / 0.5516 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.101, allocations: 4 kB / 0.5516 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.1011, allocations: 11.98 kB / 0.5516 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1011, allocations: 7.984 kB / 0.5516 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1011, allocations: 3.938 kB / 0.5516 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.1014, allocations: 212.5 kB / 0.5518 GB, free: 12.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1014, allocations: 0 / 0.5518 GB, free: 12.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1016, allocations: 35.94 kB / 0.5518 GB, free: 12.1 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.002353/0.104, allocations: 1.066 MB / 0.5529 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1042, allocations: 71.91 kB / 0.553 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1042, allocations: 4 kB / 0.553 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.1043, allocations: 43.84 kB / 0.553 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1046, allocations: 46.83 kB / 0.553 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.1074, allocations: 2.091 MB / 0.5551 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.1076, allocations: 128.8 kB / 0.5552 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.089e-05/0.1076, allocations: 25.45 kB / 0.5552 GB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1077, allocations: 59.42 kB / 0.5553 GB, free: 8.605 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1077, allocations: 0 / 0.5553 GB, free: 8.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.1453, allocations: 5.266 MB / 0.5604 GB, free: 3.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.07, allocations: 4.062 kB / 0.5604 GB, free: 3.387 MB / 382.1 MB " [Timeout remaining time 649] (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: 14.062020312994719] Failed to read output from testmodel.py, exit status != 0: 11.227987988851964 11.443845737 11.346875685 Calling exit ...