Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001357/0.001357, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.002035/0.002035, allocations: 190.8 kB / 22.85 MB, free: 5.645 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.47/1.47, allocations: 225.6 MB / 251.5 MB, free: 13.06 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.9808/0.9808, allocations: 149.5 MB / 456.3 MB, free: 1.254 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.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 73.34 kB / 0.6319 GB, free: 9.594 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1801, allocations: 87.87 MB / 0.7177 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002037/0.1822, allocations: 0.6624 MB / 0.7184 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1838, allocations: 1.17 MB / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.1838, allocations: 3.938 kB / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.1839, allocations: 0 / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.1839, allocations: 11.88 kB / 0.7195 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.1844, allocations: 158.3 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1846, allocations: 135.8 kB / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.1847, allocations: 8 kB / 0.7198 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.781e-05/0.1848, allocations: 55.89 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1849, allocations: 59.8 kB / 0.7199 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1849, allocations: 12 kB / 0.72 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.185, allocations: 35.86 kB / 0.72 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.185, allocations: 15.98 kB / 0.72 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.036e-05/0.1851, allocations: 55.83 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1853, allocations: 123.7 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1853, allocations: 0 / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1853, allocations: 4 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.1853, allocations: 3.984 kB / 0.7202 GB, free: 15.15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005764/0.1859, allocations: 343.8 kB / 0.7205 GB, free: 14.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1859, allocations: 8.625 kB / 0.7205 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.186, allocations: 34.75 kB / 0.7205 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.186, allocations: 16.88 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1864, allocations: 150.6 kB / 0.7207 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1864, allocations: 12.31 kB / 0.7207 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1865, allocations: 12.38 kB / 0.7207 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1866, allocations: 89.94 kB / 0.7208 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1866, allocations: 0 / 0.7208 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1866, allocations: 3.984 kB / 0.7208 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1866, allocations: 0 / 0.7208 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.1867, allocations: 35.97 kB / 0.7209 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.1873, allocations: 339.7 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1875, allocations: 74.55 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.1876, allocations: 28.84 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.1876, allocations: 4 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.1878, allocations: 135.3 kB / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1878, allocations: 0 / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0003968/0.1882, allocations: 204.9 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1882, allocations: 55.41 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.1883, allocations: 113.8 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.1884, allocations: 29.7 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1884, allocations: 92.12 kB / 0.7219 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1885, allocations: 35.89 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.1885, allocations: 53.69 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1887, allocations: 318.8 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1888, allocations: 55.84 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1889, allocations: 91 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.1891, allocations: 133.9 kB / 0.7225 GB, free: 12.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1891, allocations: 0 / 0.7225 GB, free: 12.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003896/0.1895, allocations: 215.1 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.1896, allocations: 37.7 kB / 0.7228 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1896, allocations: 4 kB / 0.7228 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1896, allocations: 4.125 kB / 0.7228 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.1896, allocations: 15.98 kB / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1896, allocations: 0 / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1898, allocations: 35.92 kB / 0.7228 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.1899, allocations: 11.98 kB / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001109/0.19, allocations: 133.7 kB / 0.723 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.19, allocations: 7.953 kB / 0.723 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.19, allocations: 20.42 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.19, allocations: 0 / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.19, allocations: 0 / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.19, allocations: 0 / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.1905, allocations: 409.5 kB / 0.7234 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1905, allocations: 4 kB / 0.7234 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.1905, allocations: 4 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1905, allocations: 0 / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1905, allocations: 3.984 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1905, allocations: 4 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1905, allocations: 4 kB / 0.7234 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.1908, allocations: 274.7 kB / 0.7237 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.1909, allocations: 7.953 kB / 0.7237 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1909, allocations: 7.984 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.191, allocations: 8 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.191, allocations: 15.91 kB / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.191, allocations: 11.98 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.1911, allocations: 91.58 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1911, allocations: 0 / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002689/0.1914, allocations: 35.98 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007024/0.1921, allocations: 0.8033 MB / 0.7246 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.1924, allocations: 183.2 kB / 0.7248 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1924, allocations: 0 / 0.7248 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.1925, allocations: 39.98 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1927, allocations: 34.08 kB / 0.7249 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1947, allocations: 1.705 MB / 0.7265 GB, free: 8.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.195, allocations: 0.6924 MB / 0.7272 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.195, allocations: 8.5 kB / 0.7272 GB, free: 7.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.1951, allocations: 23.42 kB / 0.7273 GB, free: 7.422 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1951, allocations: 0 / 0.7273 GB, free: 7.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.2212, allocations: 2.827 MB / 0.73 GB, free: 4.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.043, allocations: 4.875 kB / 0.73 GB, free: 4.688 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.910301387004438] Failed to read output from testmodel.py, exit status != 0: 8.121530217002146 8.152439925 7.961259235 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fca5b24d7b0>