Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.001628/0.001628, 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.001832/0.001832, allocations: 189.2 kB / 22.85 MB, free: 5.66 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.567/1.567, 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 0.9683/0.9683, allocations: 149.5 MB / 456.3 MB, free: 1.312 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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 73.52 kB / 0.6319 GB, free: 9.617 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2194, allocations: 87.88 MB / 0.7178 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002212/0.2216, allocations: 0.8427 MB / 0.7186 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2238, allocations: 1.462 MB / 0.72 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.2239, allocations: 7.938 kB / 0.72 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.2245, allocations: 203.4 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.2247, allocations: 111.6 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2259, allocations: 372.2 kB / 0.7207 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.227, allocations: 0.8816 MB / 0.7215 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2272, allocations: 56.55 kB / 0.7216 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.2276, allocations: 351.4 kB / 0.7219 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.2281, allocations: 283.3 kB / 0.7222 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.2282, allocations: 44 kB / 0.7222 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.2285, allocations: 123.9 kB / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004877/0.229, allocations: 371.2 kB / 0.7227 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.2293, allocations: 278.8 kB / 0.723 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.2303, allocations: 0.9112 MB / 0.7239 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2303, allocations: 0 / 0.7239 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2303, allocations: 0 / 0.7239 GB, free: 11.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.2303, allocations: 0 / 0.7239 GB, free: 11.41 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002039/0.2324, allocations: 0.828 MB / 0.7247 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.806e-05/0.2325, allocations: 8.625 kB / 0.7247 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.48e-05/0.2325, allocations: 46.73 kB / 0.7247 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.2328, allocations: 56.59 kB / 0.7248 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.2339, allocations: 0.4887 MB / 0.7253 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.2339, allocations: 24.61 kB / 0.7253 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.234, allocations: 40.36 kB / 0.7253 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.2346, allocations: 304.5 kB / 0.7256 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2347, allocations: 3.938 kB / 0.7256 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.2347, allocations: 7.984 kB / 0.7256 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2347, allocations: 4 kB / 0.7256 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2351, allocations: 223.8 kB / 0.7258 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.2375, allocations: 1.144 MB / 0.727 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.2383, allocations: 475.6 kB / 0.7274 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.2385, allocations: 170.6 kB / 0.7276 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.2385, allocations: 11.92 kB / 0.7276 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.2391, allocations: 336.1 kB / 0.7279 GB, free: 7.078 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.794e-06/0.2392, allocations: 0 / 0.7279 GB, free: 7.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001275/0.2404, allocations: 0.6221 MB / 0.7285 GB, free: 6.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.2405, allocations: 122.7 kB / 0.7286 GB, free: 6.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.2413, allocations: 0.5877 MB / 0.7292 GB, free: 5.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.975e-05/0.2414, allocations: 45.7 kB / 0.7292 GB, free: 5.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.2417, allocations: 229.6 kB / 0.7295 GB, free: 5.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.2417, allocations: 51.62 kB / 0.7295 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.242, allocations: 185.5 kB / 0.7297 GB, free: 5.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.2422, allocations: 362.8 kB / 0.73 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2424, allocations: 123.9 kB / 0.7302 GB, free: 4.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009664/0.2434, allocations: 0.71 MB / 0.7308 GB, free: 3.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.2438, allocations: 304.6 kB / 0.7311 GB, free: 3.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2438, allocations: 4 kB / 0.7311 GB, free: 3.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007186/0.2445, allocations: 413 kB / 0.7315 GB, free: 3.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2445, allocations: 11.92 kB / 0.7315 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2445, allocations: 4.375 kB / 0.7315 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.2446, allocations: 11.94 kB / 0.7316 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.2447, allocations: 35.92 kB / 0.7316 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2447, allocations: 4 kB / 0.7316 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.246, allocations: 138.4 kB / 0.7317 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.246, allocations: 20 kB / 0.7318 GB, free: 2.848 MB / 0.545 GB 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.000407/0.2464, allocations: 257.5 kB / 0.732 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.2465, allocations: 39.72 kB / 0.732 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.2466, allocations: 59.3 kB / 0.7321 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.2466, allocations: 11.92 kB / 0.7321 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2466, allocations: 0 / 0.7321 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2466, allocations: 7.938 kB / 0.7321 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.2471, allocations: 380.3 kB / 0.7325 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2471, allocations: 0 / 0.7325 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.2471, allocations: 8 kB / 0.7325 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2471, allocations: 0 / 0.7325 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.2471, allocations: 8.234 kB / 0.7325 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.2472, allocations: 7.938 kB / 0.7325 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2472, allocations: 4 kB / 0.7325 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.2479, allocations: 0.5177 MB / 0.733 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.2481, allocations: 51.7 kB / 0.7331 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.2481, allocations: 4 kB / 0.7331 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2483, allocations: 19.92 kB / 0.7331 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2484, allocations: 31.95 kB / 0.7331 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.2484, allocations: 12 kB / 0.7331 GB, free: 1.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005704/0.249, allocations: 431.1 kB / 0.7335 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.249, allocations: 0 / 0.7335 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005549/0.2495, allocations: 119.9 kB / 0.7336 GB, free: 0.8242 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: 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.001261/0.2508, allocations: 1.105 MB / 0.7347 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006577/0.2514, allocations: 349.9 kB / 0.7351 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2514, allocations: 0 / 0.7351 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.2517, allocations: 167.8 kB / 0.7352 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.252, allocations: 40.2 kB / 0.7353 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/0.2581, allocations: 4.404 MB / 0.7396 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.2586, allocations: 0.8311 MB / 0.7404 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002838/0.2589, allocations: 94.91 kB / 0.7405 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.2591, allocations: 127.4 kB / 0.7406 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/0.2591, allocations: 0 / 0.7406 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/0.6645, allocations: 11.72 MB / 0.752 GB, free: 31.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/9.098, allocations: 2.156 kB / 0.752 GB, free: 31.7 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.028878551995149] Failed to read output from testmodel.py, exit status != 0: 9.1722567120014 9.188008373 8.954734709 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fcb3bba57b0>