Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001715/0.001715, allocations: 111.8 kB / 17.08 MB, free: 5.988 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.001909/0.001909, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.498/1.498, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.18/1.18, allocations: 147.6 MB / 445.5 MB, free: 8.402 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.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.33 kB / 0.6109 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.15, allocations: 83.16 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002034/0.1521, allocations: 0.7513 MB / 0.6929 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1539, allocations: 1.242 MB / 0.6941 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.1539, allocations: 1.469 kB / 0.6941 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.154, allocations: 11.86 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.484e-05/0.1541, allocations: 20.86 kB / 0.6941 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.1549, allocations: 263.5 kB / 0.6943 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.1552, allocations: 262.2 kB / 0.6946 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1554, allocations: 53.59 kB / 0.6946 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1555, allocations: 106.9 kB / 0.6948 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1557, allocations: 105.9 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.1558, allocations: 25.69 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.1559, allocations: 30.25 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1559, allocations: 40.14 kB / 0.6949 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.156, allocations: 93.8 kB / 0.695 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1564, allocations: 245.8 kB / 0.6953 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1564, allocations: 0 / 0.6953 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1564, allocations: 0 / 0.6953 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.1564, allocations: 0 / 0.6953 GB, free: 11.01 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006908/0.1571, allocations: 0.4948 MB / 0.6958 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1572, allocations: 8.25 kB / 0.6958 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.1572, allocations: 48.23 kB / 0.6958 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.1573, allocations: 19.84 kB / 0.6958 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.1578, allocations: 238.4 kB / 0.6961 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1579, allocations: 17.98 kB / 0.6961 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1579, allocations: 23.5 kB / 0.6961 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1581, allocations: 135.2 kB / 0.6962 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1582, allocations: 1.375 kB / 0.6962 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1582, allocations: 1.375 kB / 0.6962 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1582, allocations: 2.75 kB / 0.6962 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1583, allocations: 71.7 kB / 0.6963 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.1589, allocations: 447.6 kB / 0.6967 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1591, allocations: 109.4 kB / 0.6968 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/0.1592, allocations: 43.58 kB / 0.6969 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.1592, allocations: 5.688 kB / 0.6969 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.1594, allocations: 125.3 kB / 0.697 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 5.149e-06/0.1595, allocations: 3.984 kB / 0.697 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0004508/0.1599, allocations: 249.2 kB / 0.6972 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.16, allocations: 54.12 kB / 0.6973 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1601, allocations: 142.7 kB / 0.6974 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1601, allocations: 34.52 kB / 0.6975 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.1602, allocations: 112.5 kB / 0.6976 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.1603, allocations: 37.73 kB / 0.6976 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1604, allocations: 68.97 kB / 0.6977 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1606, allocations: 321.7 kB / 0.698 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1607, allocations: 71.73 kB / 0.698 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1609, allocations: 135.2 kB / 0.6982 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.1612, allocations: 210.6 kB / 0.6984 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1612, allocations: 3.938 kB / 0.6984 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004975/0.1617, allocations: 310.1 kB / 0.6987 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/0.1618, allocations: 67.39 kB / 0.6987 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1618, allocations: 4 kB / 0.6987 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1618, allocations: 4 kB / 0.6987 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.851e-05/0.1618, allocations: 7.984 kB / 0.6987 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1618, allocations: 7.938 kB / 0.6988 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.1622, allocations: 64.08 kB / 0.6988 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1622, allocations: 12 kB / 0.6988 GB, free: 7.777 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001285/0.1624, allocations: 138.6 kB / 0.699 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1624, allocations: 19.84 kB / 0.699 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.1624, allocations: 8.844 kB / 0.699 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1624, allocations: 0 / 0.699 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1625, allocations: 8 kB / 0.699 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.1625, allocations: 3.984 kB / 0.699 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.163, allocations: 492.2 kB / 0.6995 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.163, allocations: 0 / 0.6995 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.163, allocations: 7.984 kB / 0.6995 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.163, allocations: 3.938 kB / 0.6995 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1631, allocations: 4 kB / 0.6995 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.1631, allocations: 4 kB / 0.6995 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1631, allocations: 0 / 0.6995 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.1634, allocations: 287.4 kB / 0.6998 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1635, allocations: 96.95 kB / 0.6999 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1635, allocations: 0 / 0.6999 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.1636, allocations: 7.984 kB / 0.6999 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1636, allocations: 11.98 kB / 0.6999 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1636, allocations: 8 kB / 0.6999 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.1637, allocations: 99.27 kB / 0.7 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1637, allocations: 0 / 0.7 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003113/0.164, allocations: 51.98 kB / 0.7 GB, free: 6.445 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * 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.00069/0.1647, allocations: 0.8349 MB / 0.7008 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004285/0.1652, allocations: 295 kB / 0.7011 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1652, allocations: 4.062 kB / 0.7011 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1653, allocations: 82.38 kB / 0.7012 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1656, allocations: 21.69 kB / 0.7012 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.168, allocations: 2.033 MB / 0.7032 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1684, allocations: 0.7084 MB / 0.7039 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.1684, allocations: 17.08 kB / 0.7039 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.1685, allocations: 39.42 kB / 0.704 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1685, allocations: 0 / 0.704 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1935, allocations: 3.573 MB / 0.7074 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.27, allocations: 13.81 kB / 0.7075 GB, free: 14.71 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.211991326184943] Failed to read output from testmodel.py, exit status != 0: 8.596870444016531 8.367586556 8.206572005 Calling exit ...