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.001182/0.001182, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.00135/0.00135, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9786/0.9786, allocations: 230.6 MB / 256 MB, free: 9.629 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.03755/0.03755, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.0004466/0.0004466, allocations: 35.7 kB / 384.1 MB, free: 10.69 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.77/1.77, allocations: 353.8 MB / 0.7787 GB, free: 3.113 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.001487/0.001487, allocations: 123 kB / 1.06 GB, free: 25.1 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2624, allocations: 134.9 MB / 1.192 GB, free: 7.945 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001816/0.2643, allocations: 0.6781 MB / 1.192 GB, free: 7.27 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2661, allocations: 1.398 MB / 1.194 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.829e-05/0.2662, allocations: 0 / 1.194 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.2667, allocations: 195.5 kB / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.2668, allocations: 103.7 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.2675, allocations: 240 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.268, allocations: 495.7 kB / 1.195 GB, free: 4.852 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.2681, allocations: 4 kB / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2683, allocations: 211.6 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.2687, allocations: 227.6 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.2688, allocations: 20 kB / 1.195 GB, free: 4.398 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.269, allocations: 95.91 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.2693, allocations: 279.4 kB / 1.196 GB, free: 4.031 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.2695, allocations: 151.3 kB / 1.196 GB, free: 3.883 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.2701, allocations: 482.7 kB / 1.196 GB, free: 3.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2701, allocations: 3.938 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2701, allocations: 4 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.2701, allocations: 0 / 1.196 GB, free: 3.402 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.0009491/0.271, allocations: 0.5709 MB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.2711, allocations: 8.031 kB / 1.197 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.2711, allocations: 34.75 kB / 1.197 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2713, allocations: 28.8 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.2719, allocations: 334.4 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.272, allocations: 20.36 kB / 1.197 GB, free: 2.344 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.272, allocations: 20.36 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.2723, allocations: 184.7 kB / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2723, allocations: 7.938 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2723, allocations: 0 / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2723, allocations: 0 / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2724, allocations: 115.9 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.2728, allocations: 362.2 kB / 1.198 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.2732, allocations: 311.6 kB / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2733, allocations: 118.6 kB / 1.198 GB, free: 1.148 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.2733, allocations: 8 kB / 1.198 GB, free: 1.141 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.2737, allocations: 285.5 kB / 1.199 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.2737, allocations: 0 / 1.199 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.000656/0.2744, allocations: 0.505 MB / 1.199 GB, free: 336 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.2744, allocations: 106.8 kB / 1.199 GB, free: 204 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.2748, allocations: 396.5 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.2748, allocations: 41.7 kB / 1.2 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2749, allocations: 152.8 kB / 1.2 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.275, allocations: 43.77 kB / 1.2 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2751, allocations: 113.6 kB / 1.2 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2752, allocations: 350.8 kB / 1.2 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.2753, allocations: 83.95 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.2756, allocations: 459 kB / 1.201 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.2759, allocations: 265.4 kB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2759, allocations: 3.938 kB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003735/0.2762, allocations: 325.1 kB / 1.201 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2763, allocations: 12.34 kB / 1.201 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2763, allocations: 4 kB / 1.201 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2763, allocations: 8 kB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.2764, allocations: 27.92 kB / 1.201 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2765, allocations: 7.938 kB / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.2769, allocations: 80.72 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2769, allocations: 8 kB / 1.201 GB, free: 13.65 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.000191/0.2771, allocations: 195.7 kB / 1.202 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.2771, allocations: 31.75 kB / 1.202 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.2772, allocations: 37.89 kB / 1.202 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2772, allocations: 4 kB / 1.202 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2772, allocations: 3.938 kB / 1.202 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2772, allocations: 0 / 1.202 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2774, allocations: 260.5 kB / 1.202 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2774, allocations: 0 / 1.202 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.2774, allocations: 12 kB / 1.202 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2774, allocations: 3.938 kB / 1.202 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2774, allocations: 7.984 kB / 1.202 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2774, allocations: 4 kB / 1.202 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2774, allocations: 0 / 1.202 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.2778, allocations: 440.2 kB / 1.202 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.2779, allocations: 31.73 kB / 1.202 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2779, allocations: 11.98 kB / 1.202 GB, free: 12.55 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.278, allocations: 0 / 1.202 GB, free: 12.55 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.278, allocations: 19.97 kB / 1.202 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.278, allocations: 12 kB / 1.202 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002306/0.2783, allocations: 291 kB / 1.203 GB, free: 12.24 MB / 0.8387 GB Notification: Performance of sort global known variables: time 8e-08/0.2783, allocations: 0 / 1.203 GB, free: 12.24 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0003332/0.2786, allocations: 71.94 kB / 1.203 GB, free: 12.17 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.0007544/0.2793, allocations: 1.01 MB / 1.204 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0005652/0.2799, allocations: 252.1 kB / 1.204 GB, free: 10.88 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2799, allocations: 0 / 1.204 GB, free: 10.88 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.28, allocations: 119.9 kB / 1.204 GB, free: 10.76 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.2803, allocations: 30.47 kB / 1.204 GB, free: 10.73 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.2832, allocations: 3.261 MB / 1.207 GB, free: 7.277 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2834, allocations: 0.7649 MB / 1.208 GB, free: 6.488 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.2836, allocations: 54.06 kB / 1.208 GB, free: 6.438 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2837, allocations: 87.39 kB / 1.208 GB, free: 6.352 MB / 0.8387 GB Notification: Performance of SimCode: time 7.51e-07/0.2837, allocations: 4 kB / 1.208 GB, free: 6.348 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.3094, allocations: 7.818 MB / 1.216 GB, free: 14.75 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.177, allocations: 4.062 kB / 1.216 GB, free: 14.75 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.848275082185864] Failed to read output from testmodel.py, exit status != 0: 7.2600922510027885 7.272813104 6.999931544 Calling exit ...