Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 112.2 kB / 17.08 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 186.8 kB / 20.02 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.136/1.136, allocations: 147.6 MB / 445.5 MB, free: 8.5 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.89 kB / 0.6109 GB, free: 156 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.457, allocations: 83.14 MB / 0.6921 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001935/0.459, allocations: 0.6685 MB / 0.6928 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.4611, allocations: 1.341 MB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.4612, allocations: 5.25 kB / 0.6941 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.4617, allocations: 185.6 kB / 0.6943 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.4619, allocations: 103.8 kB / 0.6944 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.4626, allocations: 236.3 kB / 0.6946 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.4633, allocations: 490 kB / 0.695 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.4633, allocations: 13.48 kB / 0.6951 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.4635, allocations: 199.2 kB / 0.6952 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.4639, allocations: 208.1 kB / 0.6954 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.464, allocations: 21.88 kB / 0.6955 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.4643, allocations: 88.48 kB / 0.6955 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003962/0.4647, allocations: 253 kB / 0.6958 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.4649, allocations: 147.1 kB / 0.6959 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000603/0.4655, allocations: 479.9 kB / 0.6964 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4655, allocations: 0 / 0.6964 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4655, allocations: 0 / 0.6964 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4656, allocations: 1.312 kB / 0.6964 GB, free: 10.55 MB / 0.5137 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.001129/0.4667, allocations: 0.6428 MB / 0.697 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4667, allocations: 9.625 kB / 0.697 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.4668, allocations: 36.11 kB / 0.6971 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.4669, allocations: 30.67 kB / 0.6971 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.4675, allocations: 392.2 kB / 0.6975 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.4675, allocations: 16.38 kB / 0.6975 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.4676, allocations: 24.36 kB / 0.6975 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.468, allocations: 188.7 kB / 0.6977 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.468, allocations: 3.938 kB / 0.6977 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.468, allocations: 0 / 0.6977 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4681, allocations: 0 / 0.6977 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.4683, allocations: 115.9 kB / 0.6978 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.4688, allocations: 383.1 kB / 0.6982 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.4693, allocations: 323.6 kB / 0.6985 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.4695, allocations: 122.6 kB / 0.6986 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4695, allocations: 0 / 0.6986 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005457/0.4701, allocations: 291.4 kB / 0.6989 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.4701, allocations: 0 / 0.6989 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.000953/0.4711, allocations: 0.4978 MB / 0.6994 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.4712, allocations: 118.8 kB / 0.6995 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.4717, allocations: 400.5 kB / 0.6998 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.4718, allocations: 37.64 kB / 0.6999 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.472, allocations: 160.8 kB / 0.7 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.472, allocations: 35.7 kB / 0.7001 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.4722, allocations: 117.6 kB / 0.7002 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4724, allocations: 342.8 kB / 0.7005 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.4725, allocations: 87.95 kB / 0.7006 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.4732, allocations: 463 kB / 0.701 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.4735, allocations: 257.4 kB / 0.7013 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4735, allocations: 0 / 0.7013 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005527/0.4741, allocations: 333.1 kB / 0.7016 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4741, allocations: 11.94 kB / 0.7016 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4742, allocations: 4 kB / 0.7016 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4742, allocations: 4 kB / 0.7016 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4744, allocations: 32.33 kB / 0.7016 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4744, allocations: 11.94 kB / 0.7017 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/0.4752, allocations: 64.08 kB / 0.7017 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.4752, allocations: 15.98 kB / 0.7017 GB, free: 4.797 MB / 0.5137 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.0002495/0.4755, allocations: 191.9 kB / 0.7019 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.4755, allocations: 39.97 kB / 0.702 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/0.4756, allocations: 37.88 kB / 0.702 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.4756, allocations: 4 kB / 0.702 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4756, allocations: 0 / 0.702 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4757, allocations: 0 / 0.702 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.476, allocations: 293.4 kB / 0.7023 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4761, allocations: 0 / 0.7023 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.4761, allocations: 4 kB / 0.7023 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4761, allocations: 7.875 kB / 0.7023 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.4761, allocations: 7.984 kB / 0.7023 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4761, allocations: 8 kB / 0.7023 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4761, allocations: 3.938 kB / 0.7023 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.4768, allocations: 431.8 kB / 0.7027 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.4769, allocations: 104.9 kB / 0.7028 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.4769, allocations: 3.984 kB / 0.7028 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.477, allocations: 4 kB / 0.7028 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.4771, allocations: 23.98 kB / 0.7028 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.4772, allocations: 15.98 kB / 0.7029 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003554/0.4775, allocations: 287 kB / 0.7031 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4775, allocations: 0 / 0.7031 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004488/0.478, allocations: 83.86 kB / 0.7032 GB, free: 3.184 MB / 0.5137 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.001171/0.4792, allocations: 0.9964 MB / 0.7042 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.4797, allocations: 259.7 kB / 0.7044 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4797, allocations: 0.8125 kB / 0.7044 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.4799, allocations: 151.8 kB / 0.7046 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4802, allocations: 23.92 kB / 0.7046 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.4846, allocations: 3.256 MB / 0.7078 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.4851, allocations: 0.7675 MB / 0.7085 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.4852, allocations: 45.94 kB / 0.7086 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4854, allocations: 79.41 kB / 0.7087 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/0.4854, allocations: 0 / 0.7087 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.5187, allocations: 7.61 MB / 0.7161 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.783, allocations: 1.562 kB / 0.7161 GB, free: 5.961 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.424317674944177] Failed to read output from testmodel.py, exit status != 0: 8.85560553194955 8.883252783 8.412818176 Calling exit ...