Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.0007854/0.0007854, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] 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.0008191/0.0008191, allocations: 222.3 kB / 22.26 MB, free: 3.703 MB / 13.93 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 0.9067/0.9067, allocations: 230.6 MB / 256 MB, free: 9.77 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03956/0.03956, allocations: 12.18 MB / 324.6 MB, free: 6.254 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004667/0.0004667, allocations: 23.91 kB / 384.1 MB, free: 10.67 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.657/1.657, allocations: 353.8 MB / 0.7787 GB, free: 3.051 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001473/0.001473, allocations: 114.3 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.244, allocations: 134.9 MB / 1.192 GB, free: 7.812 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001482/0.2454, allocations: 0.6765 MB / 1.192 GB, free: 7.137 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2468, allocations: 1.402 MB / 1.194 GB, free: 5.723 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.2468, allocations: 0 / 1.194 GB, free: 5.723 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.2473, allocations: 195.5 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.2474, allocations: 107.7 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.2478, allocations: 231.9 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.2482, allocations: 0.4919 MB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.2483, allocations: 4 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2485, allocations: 207.6 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.2487, allocations: 231.5 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.2487, allocations: 20 kB / 1.195 GB, free: 4.258 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2489, allocations: 103.9 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.2491, allocations: 275.4 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.2493, allocations: 151.3 kB / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.2497, allocations: 482.7 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2497, allocations: 0 / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2497, allocations: 0 / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2497, allocations: 0 / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006701/0.2504, allocations: 0.5709 MB / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2504, allocations: 8.031 kB / 1.197 GB, free: 2.652 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.2504, allocations: 38.75 kB / 1.197 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.2505, allocations: 32.78 kB / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.2509, allocations: 326.5 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2509, allocations: 20.3 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.251, allocations: 20.38 kB / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.2512, allocations: 180.7 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2512, allocations: 7.938 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2512, allocations: 4 kB / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2512, allocations: 0 / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2513, allocations: 111.9 kB / 1.197 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.2516, allocations: 362.2 kB / 1.198 GB, free: 1.473 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.2522, allocations: 311.7 kB / 1.198 GB, free: 1.141 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2523, allocations: 126.5 kB / 1.198 GB, free: 1.008 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.2523, allocations: 0 / 1.198 GB, free: 1.008 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.2526, allocations: 287.2 kB / 1.199 GB, free: 0.707 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 8.32e-07/0.2526, allocations: 0 / 1.199 GB, free: 0.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0005462/0.2532, allocations: 0.4978 MB / 1.199 GB, free: 208 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.2532, allocations: 114.8 kB / 1.199 GB, free: 68 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.2535, allocations: 396.5 kB / 1.199 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.2536, allocations: 41.64 kB / 1.2 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.2536, allocations: 156.8 kB / 1.2 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.2537, allocations: 43.7 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.2538, allocations: 117.6 kB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.2538, allocations: 346.8 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.2539, allocations: 83.95 kB / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.2543, allocations: 463 kB / 1.201 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2545, allocations: 261.7 kB / 1.201 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2545, allocations: 0 / 1.201 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003199/0.2548, allocations: 333.4 kB / 1.201 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2548, allocations: 11.94 kB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2548, allocations: 0 / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2548, allocations: 8 kB / 1.201 GB, free: 13.63 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2549, allocations: 31.92 kB / 1.201 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.255, allocations: 4 kB / 1.201 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.2553, allocations: 75.94 kB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2553, allocations: 12.06 kB / 1.201 GB, free: 13.51 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001456/0.2555, allocations: 199.7 kB / 1.202 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.2555, allocations: 31.75 kB / 1.202 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.2555, allocations: 33.89 kB / 1.202 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2555, allocations: 4 kB / 1.202 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2555, allocations: 0 / 1.202 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2556, allocations: 0 / 1.202 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.2557, allocations: 268.5 kB / 1.202 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2557, allocations: 0 / 1.202 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/0.2557, allocations: 4 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2557, allocations: 3.938 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2558, allocations: 7.984 kB / 1.202 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2558, allocations: 4 kB / 1.202 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2558, allocations: 0 / 1.202 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.2561, allocations: 438.5 kB / 1.202 GB, free: 12.46 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.2561, allocations: 31.73 kB / 1.202 GB, free: 12.43 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.2562, allocations: 3.984 kB / 1.202 GB, free: 12.43 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/0.2562, allocations: 8 kB / 1.202 GB, free: 12.42 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.2563, allocations: 23.97 kB / 1.202 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.2563, allocations: 8 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002027/0.2565, allocations: 291 kB / 1.203 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2565, allocations: 0 / 1.203 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002395/0.2567, allocations: 71.94 kB / 1.203 GB, free: 12.04 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000611/0.2573, allocations: 1.014 MB / 1.204 GB, free: 10.99 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.2577, allocations: 259.7 kB / 1.204 GB, free: 10.73 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2577, allocations: 0 / 1.204 GB, free: 10.73 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2578, allocations: 115.9 kB / 1.204 GB, free: 10.62 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.258, allocations: 29.5 kB / 1.204 GB, free: 10.59 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.261, allocations: 3.263 MB / 1.207 GB, free: 7.137 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.2613, allocations: 0.7597 MB / 1.208 GB, free: 6.352 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.813e-05/0.2613, allocations: 45.95 kB / 1.208 GB, free: 6.309 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.2614, allocations: 87.39 kB / 1.208 GB, free: 6.223 MB / 0.8387 GB Notification: Performance of SimCode: time 6.71e-07/0.2614, allocations: 0 / 1.208 GB, free: 6.223 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.2818, allocations: 7.826 MB / 1.216 GB, free: 14.62 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.988, allocations: 13.72 kB / 1.216 GB, free: 14.61 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.305734452791512] Failed to read output from testmodel.py, exit status != 0: 7.066596186719835 7.075966017 6.824516298 Calling exit ...