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.001909/0.001909, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.521/1.521, allocations: 230.6 MB / 252.7 MB, free: 8.297 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.001593/0.001593, allocations: 208.5 kB / 309.2 MB, free: 3.191 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.06458/0.06458, allocations: 8.914 MB / 374.6 MB, free: 1.941 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.002634/0.002634, allocations: 87.88 kB / 0.4892 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2991, allocations: 55.6 MB / 0.5435 GB, free: 26.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003905/0.303, allocations: 2.216 MB / 0.5457 GB, free: 25.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.3053, allocations: 1.128 MB / 0.5468 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.3055, allocations: 7 kB / 0.5468 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.306, allocations: 100.9 kB / 0.5469 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.3064, allocations: 146.2 kB / 0.547 GB, free: 24.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.3069, allocations: 98.73 kB / 0.5471 GB, free: 24.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.3071, allocations: 234.3 kB / 0.5473 GB, free: 24.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.3073, allocations: 33.12 kB / 0.5474 GB, free: 24.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3075, allocations: 98.61 kB / 0.5474 GB, free: 24.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3077, allocations: 119.6 kB / 0.5476 GB, free: 24.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.3077, allocations: 12.69 kB / 0.5476 GB, free: 24.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3078, allocations: 57.59 kB / 0.5476 GB, free: 24.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.308, allocations: 42.91 kB / 0.5477 GB, free: 24.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.3081, allocations: 88.19 kB / 0.5478 GB, free: 24.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3084, allocations: 234.1 kB / 0.548 GB, free: 23.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3084, allocations: 0 / 0.548 GB, free: 23.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3084, allocations: 0 / 0.548 GB, free: 23.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3084, allocations: 0 / 0.548 GB, free: 23.93 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.0008474/0.3092, allocations: 457.3 kB / 0.5484 GB, free: 23.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.828e-05/0.3093, allocations: 8.719 kB / 0.5484 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.529e-05/0.3094, allocations: 48.44 kB / 0.5485 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3094, allocations: 21.95 kB / 0.5485 GB, free: 23.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.3097, allocations: 189.5 kB / 0.5487 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3098, allocations: 11.05 kB / 0.5487 GB, free: 23.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.3098, allocations: 14.25 kB / 0.5487 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.3102, allocations: 124.8 kB / 0.5488 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3102, allocations: 0 / 0.5488 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3102, allocations: 4 kB / 0.5488 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.3102, allocations: 3.188 kB / 0.5488 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3103, allocations: 73 kB / 0.5489 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.3113, allocations: 0.5218 MB / 0.5494 GB, free: 22.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.3117, allocations: 100.2 kB / 0.5495 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.3118, allocations: 36.73 kB / 0.5495 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.3119, allocations: 3.188 kB / 0.5495 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3121, allocations: 103.9 kB / 0.5496 GB, free: 22.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3121, allocations: 0 / 0.5496 GB, free: 22.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003542/0.3124, allocations: 146.7 kB / 0.5498 GB, free: 22.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.3125, allocations: 77.11 kB / 0.5498 GB, free: 22.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3128, allocations: 276.6 kB / 0.5501 GB, free: 22.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3128, allocations: 37.11 kB / 0.5501 GB, free: 22.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.3128, allocations: 136.6 kB / 0.5503 GB, free: 22.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3129, allocations: 37.61 kB / 0.5503 GB, free: 22.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3129, allocations: 31.38 kB / 0.5503 GB, free: 22.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.313, allocations: 337 kB / 0.5507 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3132, allocations: 27.78 kB / 0.5507 GB, free: 21.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.3133, allocations: 69.09 kB / 0.5508 GB, free: 21.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3134, allocations: 93.45 kB / 0.5508 GB, free: 21.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3134, allocations: 7.156 kB / 0.5508 GB, free: 21.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002138/0.3136, allocations: 129.9 kB / 0.551 GB, free: 21.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.3136, allocations: 6.656 kB / 0.551 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3136, allocations: 3.938 kB / 0.551 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-05/0.3137, allocations: 3.219 kB / 0.551 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3139, allocations: 26.84 kB / 0.551 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3139, allocations: 11.22 kB / 0.551 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.3139, allocations: 14.17 kB / 0.551 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.314, allocations: 7.125 kB / 0.551 GB, free: 21.56 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 9.021e-05/0.314, allocations: 140.9 kB / 0.5512 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3141, allocations: 21.42 kB / 0.5512 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.3145, allocations: 132.9 kB / 0.5513 GB, free: 21.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3145, allocations: 0 / 0.5513 GB, free: 21.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3145, allocations: 4 kB / 0.5513 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3145, allocations: 0 / 0.5513 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3147, allocations: 213.9 kB / 0.5515 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3147, allocations: 3.188 kB / 0.5515 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.3147, allocations: 17.02 kB / 0.5516 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3147, allocations: 3.031 kB / 0.5516 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3148, allocations: 0 / 0.5516 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3148, allocations: 3.938 kB / 0.5516 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3148, allocations: 0 / 0.5516 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.3152, allocations: 193.6 kB / 0.5517 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.3153, allocations: 18.41 kB / 0.5518 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3153, allocations: 7.062 kB / 0.5518 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.3154, allocations: 3 kB / 0.5518 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3154, allocations: 6.375 kB / 0.5518 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3154, allocations: 3.031 kB / 0.5518 GB, free: 21.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.3157, allocations: 209.2 kB / 0.552 GB, free: 20.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3157, allocations: 0 / 0.552 GB, free: 20.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003/0.316, allocations: 45.89 kB / 0.552 GB, free: 20.88 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.002016/0.318, allocations: 1.033 MB / 0.553 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3182, allocations: 68.98 kB / 0.5531 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3182, allocations: 4.188 kB / 0.5531 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.3182, allocations: 36.56 kB / 0.5531 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3187, allocations: 39.84 kB / 0.5532 GB, free: 20.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.3209, allocations: 2.074 MB / 0.5552 GB, free: 18.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3212, allocations: 0.7394 MB / 0.5559 GB, free: 17.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.111e-05/0.3213, allocations: 25.72 kB / 0.5559 GB, free: 17.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.3214, allocations: 62.78 kB / 0.556 GB, free: 17.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3214, allocations: 3.938 kB / 0.556 GB, free: 17.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.3637, allocations: 4.722 MB / 0.5606 GB, free: 16.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.61, allocations: 13.28 kB / 0.5606 GB, free: 16.88 MB / 382.1 MB " [Timeout remaining time 648] (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.53052422706969] Failed to read output from testmodel.py, exit status != 0: 11.77132151601836 11.78567112 11.474510764 Calling exit ...