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.0008188/0.0008188, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001452/0.001452, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9219/0.9219, allocations: 230.6 MB / 256 MB, free: 9.59 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.03701/0.03701, allocations: 12.19 MB / 324.6 MB, free: 6.074 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.0004613/0.0004613, allocations: 27.95 kB / 384.1 MB, free: 10.5 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.68/1.68, allocations: 353.8 MB / 0.7787 GB, free: 4.559 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.00148/0.00148, allocations: 126.1 kB / 1.06 GB, free: 24.85 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 134.9 MB / 1.192 GB, free: 7.523 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001534/0.2499, allocations: 0.6586 MB / 1.192 GB, free: 6.867 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2514, allocations: 1.355 MB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.2515, allocations: 0 / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.2519, allocations: 203.5 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.252, allocations: 103.7 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.2529, allocations: 238.9 kB / 1.194 GB, free: 4.969 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.2534, allocations: 483.8 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.2535, allocations: 7.984 kB / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.2537, allocations: 207.6 kB / 1.195 GB, free: 4.285 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.254, allocations: 227.6 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.254, allocations: 23.94 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.2543, allocations: 91.91 kB / 1.195 GB, free: 3.949 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.2546, allocations: 275.4 kB / 1.195 GB, free: 3.68 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2547, allocations: 131.4 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.2551, allocations: 482.8 kB / 1.196 GB, free: 3.078 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2551, allocations: 0 / 1.196 GB, free: 3.078 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.038e-06/0.2552, allocations: 3.984 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.2552, allocations: 4 kB / 1.196 GB, free: 3.07 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.000783/0.256, allocations: 0.567 MB / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.256, allocations: 8.031 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.256, allocations: 34.75 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.2561, allocations: 28.8 kB / 1.197 GB, free: 2.391 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.2565, allocations: 334.4 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2565, allocations: 12.38 kB / 1.197 GB, free: 2.023 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.2566, allocations: 24.31 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.2568, allocations: 188.7 kB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2569, allocations: 7.938 kB / 1.197 GB, free: 1.793 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2569, allocations: 0 / 1.197 GB, free: 1.793 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2569, allocations: 0 / 1.197 GB, free: 1.793 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.257, allocations: 115.9 kB / 1.197 GB, free: 1.68 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.2573, allocations: 290.4 kB / 1.198 GB, free: 1.348 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.2577, allocations: 315.6 kB / 1.198 GB, free: 1.012 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.2578, allocations: 122.5 kB / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.2578, allocations: 7.938 kB / 1.198 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.2582, allocations: 295.3 kB / 1.198 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2582, allocations: 0 / 1.198 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0005964/0.2588, allocations: 0.4974 MB / 1.199 GB, free: 64 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.2589, allocations: 110.8 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.2592, allocations: 400.5 kB / 1.199 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.2592, allocations: 41.7 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2594, allocations: 148.8 kB / 1.199 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.2594, allocations: 43.78 kB / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2595, allocations: 117.6 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2596, allocations: 338.8 kB / 1.2 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.2597, allocations: 91.95 kB / 1.2 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009109/0.2606, allocations: 1.084 MB / 1.201 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2608, allocations: 253.5 kB / 1.201 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2608, allocations: 0 / 1.201 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003401/0.2612, allocations: 333.1 kB / 1.202 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2612, allocations: 11.94 kB / 1.202 GB, free: 12.73 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2612, allocations: 4 kB / 1.202 GB, free: 12.73 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2612, allocations: 4 kB / 1.202 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2613, allocations: 35.91 kB / 1.202 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2614, allocations: 4 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.2617, allocations: 72.91 kB / 1.202 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2617, allocations: 16 kB / 1.202 GB, free: 12.6 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.0001763/0.2619, allocations: 199.6 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.2619, allocations: 31.75 kB / 1.202 GB, free: 12.36 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.262, allocations: 33.89 kB / 1.202 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.262, allocations: 0 / 1.202 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.262, allocations: 4 kB / 1.202 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.262, allocations: 11.92 kB / 1.202 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.2622, allocations: 224.6 kB / 1.202 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.2622, allocations: 8 kB / 1.202 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.2622, allocations: 0 / 1.202 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2622, allocations: 7.938 kB / 1.202 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2622, allocations: 11.98 kB / 1.202 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2622, allocations: 0 / 1.202 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2622, allocations: 0 / 1.202 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.2626, allocations: 434.5 kB / 1.203 GB, free: 11.58 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.2627, allocations: 39.8 kB / 1.203 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2627, allocations: 0 / 1.203 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.2628, allocations: 12 kB / 1.203 GB, free: 11.53 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.2628, allocations: 19.97 kB / 1.203 GB, free: 11.51 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.2628, allocations: 8 kB / 1.203 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001982/0.263, allocations: 291 kB / 1.203 GB, free: 11.22 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.263, allocations: 0 / 1.203 GB, free: 11.22 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002715/0.2633, allocations: 75.92 kB / 1.203 GB, free: 11.14 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.000698/0.264, allocations: 1.006 MB / 1.204 GB, free: 10.1 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.2643, allocations: 251.7 kB / 1.204 GB, free: 9.855 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2643, allocations: 7.938 kB / 1.204 GB, free: 9.848 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2644, allocations: 115.9 kB / 1.204 GB, free: 9.734 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.2646, allocations: 28.64 kB / 1.204 GB, free: 9.707 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.2674, allocations: 3.258 MB / 1.208 GB, free: 6.258 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.2675, allocations: 157.2 kB / 1.208 GB, free: 6.086 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 9.193e-05/0.2676, allocations: 49.94 kB / 1.208 GB, free: 6.039 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.2677, allocations: 79.41 kB / 1.208 GB, free: 5.961 MB / 0.8387 GB Notification: Performance of SimCode: time 8.22e-07/0.2677, allocations: 0 / 1.208 GB, free: 5.961 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.2905, allocations: 8.663 MB / 1.216 GB, free: 13.56 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/7.078, allocations: 5.594 kB / 1.216 GB, free: 13.56 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.385660558007658] Failed to read output from testmodel.py, exit status != 0: 7.159329465590417 7.170166982 6.913197406 Calling exit ...