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.001403/0.001403, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001544/0.001544, allocations: 193.5 kB / 22.85 MB, free: 5.664 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.508/1.508, allocations: 225.6 MB / 251.6 MB, free: 13.05 MB / 206.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.044/1.044, allocations: 149.5 MB / 456.3 MB, free: 1.262 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.002008/0.002008, allocations: 71.8 kB / 0.6319 GB, free: 9.625 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2084, allocations: 87.87 MB / 0.7178 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002311/0.2107, allocations: 0.6714 MB / 0.7184 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.213, allocations: 1.349 MB / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.2131, allocations: 4 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.2136, allocations: 191.5 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.2138, allocations: 103.7 kB / 0.72 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.2147, allocations: 246.1 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006347/0.2153, allocations: 499.7 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.2154, allocations: 7.984 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.2156, allocations: 203.7 kB / 0.7209 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.216, allocations: 227.5 kB / 0.7211 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.656e-05/0.2161, allocations: 24 kB / 0.7212 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.2164, allocations: 103.8 kB / 0.7213 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.2168, allocations: 267.5 kB / 0.7215 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.217, allocations: 151.3 kB / 0.7217 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006827/0.2177, allocations: 482.5 kB / 0.7221 GB, free: 13.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2177, allocations: 0 / 0.7221 GB, free: 13.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2177, allocations: 0 / 0.7221 GB, free: 13.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.2177, allocations: 0 / 0.7221 GB, free: 13.19 MB / 0.545 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.001114/0.2188, allocations: 0.5721 MB / 0.7227 GB, free: 12.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2189, allocations: 12.62 kB / 0.7227 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.2189, allocations: 30.75 kB / 0.7227 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.219, allocations: 40.73 kB / 0.7228 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.2197, allocations: 322.5 kB / 0.7231 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2197, allocations: 12.38 kB / 0.7231 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.2198, allocations: 24.36 kB / 0.7231 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.2201, allocations: 184.6 kB / 0.7233 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2201, allocations: 3.938 kB / 0.7233 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2201, allocations: 0 / 0.7233 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2202, allocations: 4 kB / 0.7233 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.2204, allocations: 119.8 kB / 0.7234 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.2208, allocations: 358.2 kB / 0.7237 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2214, allocations: 311.6 kB / 0.724 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.2216, allocations: 126.6 kB / 0.7242 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2216, allocations: 7.938 kB / 0.7242 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.2222, allocations: 273.6 kB / 0.7244 GB, free: 10.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.2222, allocations: 0 / 0.7244 GB, free: 10.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000951/0.2231, allocations: 0.5011 MB / 0.7249 GB, free: 10.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.2232, allocations: 114.8 kB / 0.725 GB, free: 10 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.2237, allocations: 396.5 kB / 0.7254 GB, free: 9.594 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.2238, allocations: 37.7 kB / 0.7254 GB, free: 9.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.224, allocations: 156.8 kB / 0.7256 GB, free: 9.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.224, allocations: 39.75 kB / 0.7256 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.2242, allocations: 117.6 kB / 0.7257 GB, free: 9.234 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2244, allocations: 342.8 kB / 0.7261 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2245, allocations: 79.95 kB / 0.7261 GB, free: 8.812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.2251, allocations: 467 kB / 0.7266 GB, free: 8.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.2255, allocations: 261.4 kB / 0.7268 GB, free: 7.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2255, allocations: 0 / 0.7268 GB, free: 7.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005817/0.2261, allocations: 325.3 kB / 0.7272 GB, free: 7.602 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2261, allocations: 13.95 kB / 0.7272 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2261, allocations: 4 kB / 0.7272 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2262, allocations: 7.938 kB / 0.7272 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.2263, allocations: 35.92 kB / 0.7272 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2264, allocations: 7.938 kB / 0.7272 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/0.2271, allocations: 71.55 kB / 0.7273 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2271, allocations: 16 kB / 0.7273 GB, free: 7.453 MB / 0.545 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.0002648/0.2274, allocations: 199.7 kB / 0.7275 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.2274, allocations: 35.73 kB / 0.7275 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/0.2275, allocations: 33.89 kB / 0.7276 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2275, allocations: 0 / 0.7276 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2275, allocations: 4 kB / 0.7276 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2275, allocations: 4 kB / 0.7276 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.2278, allocations: 260.5 kB / 0.7278 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2278, allocations: 0 / 0.7278 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.2279, allocations: 4 kB / 0.7278 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2279, allocations: 3.938 kB / 0.7278 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2279, allocations: 4 kB / 0.7278 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.2279, allocations: 11.92 kB / 0.7278 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2279, allocations: 4 kB / 0.7278 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.2286, allocations: 430.5 kB / 0.7283 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.2286, allocations: 27.8 kB / 0.7283 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.2287, allocations: 4 kB / 0.7283 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.2288, allocations: 7.984 kB / 0.7283 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.2288, allocations: 11.98 kB / 0.7283 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.2288, allocations: 23.92 kB / 0.7283 GB, free: 6.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003525/0.2292, allocations: 291 kB / 0.7286 GB, free: 6.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2292, allocations: 4 kB / 0.7286 GB, free: 6.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000413/0.2296, allocations: 79.88 kB / 0.7287 GB, free: 5.965 MB / 0.545 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.001185/0.2308, allocations: 1.015 MB / 0.7297 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005214/0.2313, allocations: 251.7 kB / 0.7299 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2313, allocations: 0 / 0.7299 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.2315, allocations: 115.9 kB / 0.73 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.2318, allocations: 28.64 kB / 0.7301 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.2366, allocations: 3.259 MB / 0.7332 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.2372, allocations: 0.7597 MB / 0.734 GB, free: 300 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.2374, allocations: 54.11 kB / 0.734 GB, free: 244 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.2375, allocations: 83.41 kB / 0.7341 GB, free: 164 kB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.2375, allocations: 0 / 0.7341 GB, free: 164 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04407/0.2816, allocations: 7.714 MB / 0.7416 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.712/8.994, allocations: 8.062 kB / 0.7416 GB, free: 8.629 MB / 0.5606 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: 13.222070674004499] Failed to read output from testmodel.py, exit status != 0: 9.0713502120052 9.378519376 9.157543824 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f05610357b0>