Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.001439/0.001439, allocations: 120.1 kB / 17.84 MB, free: 5.234 MB / 14.72 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.001455/0.001455, allocations: 203.9 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.608/1.608, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.017/1.017, allocations: 150 MB / 460.2 MB, free: 5.289 MB / 350.1 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.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.31 kB / 0.6368 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1661, allocations: 89.14 MB / 0.7239 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002082/0.1682, allocations: 0.6354 MB / 0.7245 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.17, allocations: 1.223 MB / 0.7257 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1701, allocations: 0 / 0.7257 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.1701, allocations: 11.86 kB / 0.7257 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1702, allocations: 11.86 kB / 0.7257 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.1711, allocations: 214.6 kB / 0.7259 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.1714, allocations: 175.7 kB / 0.7261 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.1715, allocations: 8 kB / 0.7261 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1716, allocations: 67.88 kB / 0.7261 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1718, allocations: 63.84 kB / 0.7262 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.1718, allocations: 16 kB / 0.7262 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.1719, allocations: 23.98 kB / 0.7262 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.1719, allocations: 15.92 kB / 0.7263 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.172, allocations: 55.89 kB / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1723, allocations: 159.7 kB / 0.7265 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1723, allocations: 0 / 0.7265 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1723, allocations: 0 / 0.7265 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.1723, allocations: 4 kB / 0.7265 GB, free: 1.352 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007312/0.1731, allocations: 434.6 kB / 0.7269 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1731, allocations: 12.03 kB / 0.7269 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.588e-05/0.1731, allocations: 192 / 0.7269 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.1732, allocations: 38.73 kB / 0.7269 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.1733, allocations: 8.938 kB / 0.7269 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1734, allocations: 168.3 kB / 0.7271 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1734, allocations: 4.375 kB / 0.7271 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.1735, allocations: 12.38 kB / 0.7271 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1736, allocations: 57.92 kB / 0.7272 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1736, allocations: 4 kB / 0.7272 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1736, allocations: 0 / 0.7272 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1736, allocations: 0 / 0.7272 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.1737, allocations: 15.98 kB / 0.7272 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.1743, allocations: 360.7 kB / 0.7275 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.1744, allocations: 34.52 kB / 0.7276 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.1744, allocations: 20.94 kB / 0.7276 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1744, allocations: 0 / 0.7276 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1746, allocations: 75.38 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.1746, allocations: 0 / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002778/0.1749, allocations: 105.6 kB / 0.7278 GB, free: 15.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.175, allocations: 55.34 kB / 0.7278 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1751, allocations: 125.8 kB / 0.7279 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.1751, allocations: 29.7 kB / 0.728 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.1752, allocations: 92.12 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1752, allocations: 16.28 kB / 0.7281 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1753, allocations: 53.69 kB / 0.7281 GB, free: 15.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1755, allocations: 322.8 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1756, allocations: 55.97 kB / 0.7285 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.1758, allocations: 104.2 kB / 0.7286 GB, free: 14.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.176, allocations: 151.6 kB / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.176, allocations: 0 / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004763/0.1765, allocations: 268.8 kB / 0.729 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.1765, allocations: 67.39 kB / 0.729 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1766, allocations: 4 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1766, allocations: 3.938 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-05/0.1766, allocations: 4 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1766, allocations: 3.984 kB / 0.7291 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.177, allocations: 56.02 kB / 0.7291 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.177, allocations: 12 kB / 0.7291 GB, free: 14.32 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001217/0.1771, allocations: 125.8 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.1771, allocations: 4 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.1772, allocations: 8.375 kB / 0.7292 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1772, allocations: 4 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1772, allocations: 0 / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1772, allocations: 0 / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1774, allocations: 193.4 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1774, allocations: 4 kB / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.1774, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1774, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1774, allocations: 4 kB / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1774, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1774, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1775, allocations: 109 kB / 0.7295 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.1776, allocations: 81.16 kB / 0.7296 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1776, allocations: 7.922 kB / 0.7296 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.1776, allocations: 16 kB / 0.7296 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1777, allocations: 4 kB / 0.7297 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.1777, allocations: 7.984 kB / 0.7297 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.97e-05/0.1777, allocations: 95.2 kB / 0.7298 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 0 / 0.7298 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002676/0.178, allocations: 35.94 kB / 0.7298 GB, free: 13.53 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005401/0.1785, allocations: 0.6505 MB / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1789, allocations: 218.7 kB / 0.7306 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1789, allocations: 0 / 0.7306 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.179, allocations: 19.94 kB / 0.7306 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1792, allocations: 18.42 kB / 0.7307 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.1814, allocations: 1.716 MB / 0.7323 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1818, allocations: 0.6923 MB / 0.733 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.1818, allocations: 7.984 kB / 0.733 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.1818, allocations: 20 kB / 0.733 GB, free: 10 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.1818, allocations: 0 / 0.733 GB, free: 10 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.2029, allocations: 2.919 MB / 0.7359 GB, free: 7.195 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.47, allocations: 12.73 kB / 0.7359 GB, free: 7.188 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.535068477038294] Failed to read output from testmodel.py, exit status != 0: 8.596581053046975 8.612719981 8.437254356 Calling exit ...