Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.000776/0.000776, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008105/0.0008105, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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.9248/0.9248, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.585/0.585, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5542 GB, free: 1.684 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/2.029e-05, allocations: 3.828 kB / 0.5542 GB, free: 1.68 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001365/0.001386, allocations: 0.8176 MB / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.002887, allocations: 1.462 MB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.002951, allocations: 8 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.003291, allocations: 199.3 kB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.268e-05/0.003384, allocations: 123.5 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.004086, allocations: 372.2 kB / 0.5571 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.004673, allocations: 0.8698 MB / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004794, allocations: 60.53 kB / 0.558 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.005149, allocations: 443.5 kB / 0.5584 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.005432, allocations: 271.5 kB / 0.5587 GB, free: 13.08 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.005516, allocations: 48 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.005714, allocations: 123.8 kB / 0.5588 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.006016, allocations: 367.2 kB / 0.5592 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.006185, allocations: 203.5 kB / 0.5594 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.007363, allocations: 1.009 MB / 0.5604 GB, free: 11.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.007369, allocations: 0 / 0.5604 GB, free: 11.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.007371, allocations: 0 / 0.5604 GB, free: 11.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.007386, allocations: 3.938 kB / 0.5604 GB, free: 11.34 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001351/0.008737, allocations: 0.8328 MB / 0.5612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.008779, allocations: 8.031 kB / 0.5612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.008822, allocations: 46.73 kB / 0.5612 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.008974, allocations: 52.66 kB / 0.5613 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.009536, allocations: 499.7 kB / 0.5618 GB, free: 9.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.009555, allocations: 16.61 kB / 0.5618 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.009622, allocations: 40.38 kB / 0.5618 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.009991, allocations: 306.2 kB / 0.5621 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.009999, allocations: 192 / 0.5621 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.01001, allocations: 4.359 kB / 0.5621 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.01002, allocations: 8.125 kB / 0.5621 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.01025, allocations: 227.8 kB / 0.5623 GB, free: 9.238 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01159, allocations: 1.031 MB / 0.5634 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.01204, allocations: 467.8 kB / 0.5638 GB, free: 7.672 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.01219, allocations: 170.5 kB / 0.564 GB, free: 7.496 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.0122, allocations: 0 / 0.564 GB, free: 7.496 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.01252, allocations: 345 kB / 0.5643 GB, free: 7.141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.032e-06/0.01252, allocations: 0 / 0.5643 GB, free: 7.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007225/0.01324, allocations: 0.6221 MB / 0.5649 GB, free: 6.512 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.01331, allocations: 122.7 kB / 0.565 GB, free: 6.367 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.0138, allocations: 0.5962 MB / 0.5656 GB, free: 5.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/0.01388, allocations: 45.7 kB / 0.5656 GB, free: 5.715 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01404, allocations: 213.7 kB / 0.5658 GB, free: 5.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.01407, allocations: 51.62 kB / 0.5659 GB, free: 5.449 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.01422, allocations: 185.5 kB / 0.5661 GB, free: 5.262 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.01432, allocations: 362.8 kB / 0.5664 GB, free: 4.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.01443, allocations: 123.9 kB / 0.5665 GB, free: 4.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/0.01523, allocations: 1.771 MB / 0.5683 GB, free: 2.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.01548, allocations: 312.5 kB / 0.5686 GB, free: 2.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.01549, allocations: 8 kB / 0.5686 GB, free: 2.215 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005209/0.01601, allocations: 413 kB / 0.569 GB, free: 1.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01602, allocations: 13.81 kB / 0.569 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01603, allocations: 4 kB / 0.569 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01605, allocations: 4 kB / 0.569 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.01616, allocations: 36.28 kB / 0.569 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01617, allocations: 8 kB / 0.569 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.0168, allocations: 138.1 kB / 0.5692 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01681, allocations: 12 kB / 0.5692 GB, free: 1.598 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002342/0.01705, allocations: 265.6 kB / 0.5694 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.0171, allocations: 43.72 kB / 0.5695 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.01715, allocations: 51.67 kB / 0.5695 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.01716, allocations: 4 kB / 0.5695 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01716, allocations: 4 kB / 0.5695 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01717, allocations: 3.938 kB / 0.5695 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.01741, allocations: 328.5 kB / 0.5698 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01741, allocations: 0 / 0.5698 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.01742, allocations: 8 kB / 0.5698 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01742, allocations: 4 kB / 0.5698 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01744, allocations: 7.984 kB / 0.5699 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01744, allocations: 4 kB / 0.5699 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01744, allocations: 0 / 0.5699 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.01788, allocations: 0.5138 MB / 0.5704 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.01793, allocations: 55.64 kB / 0.5704 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.01796, allocations: 4 kB / 0.5704 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.01805, allocations: 15.98 kB / 0.5704 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.0181, allocations: 43.81 kB / 0.5705 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.01813, allocations: 15.98 kB / 0.5705 GB, free: 172 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003306/0.01846, allocations: 439.1 kB / 0.5709 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01846, allocations: 0 / 0.5709 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003545/0.01881, allocations: 111.8 kB / 0.571 GB, free: 15.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0007344/0.01955, allocations: 1.1 MB / 0.5721 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.01997, allocations: 351.6 kB / 0.5724 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01998, allocations: 4.125 kB / 0.5724 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.02013, allocations: 167.8 kB / 0.5726 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.02036, allocations: 40.73 kB / 0.5726 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.02386, allocations: 4.392 MB / 0.5769 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.02402, allocations: 229.9 kB / 0.5771 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.02421, allocations: 94.92 kB / 0.5772 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.02434, allocations: 132.5 kB / 0.5774 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/0.02434, allocations: 3.938 kB / 0.5774 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.05058, allocations: 12.99 MB / 0.59 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.004, allocations: 14.58 kB / 0.5901 GB, free: 12.27 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.450592242181301] Failed to read output from testmodel.py, exit status != 0: 7.089496393688023 7.098248757 7.089067336 Calling exit ...