Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.001707/0.001707, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.002271/0.002271, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.508/1.508, allocations: 230.6 MB / 254.2 MB, free: 15.07 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 0.9894/0.9894, allocations: 150 MB / 460.2 MB, free: 5.262 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.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",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.002126/0.002126, allocations: 70.03 kB / 0.6368 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1516, allocations: 89.12 MB / 0.7238 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002044/0.1536, allocations: 0.6418 MB / 0.7245 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1552, allocations: 1.223 MB / 0.7257 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.1553, allocations: 7.938 kB / 0.7257 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.1553, allocations: 3.938 kB / 0.7257 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.1554, allocations: 11.86 kB / 0.7257 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.1561, allocations: 209 kB / 0.7259 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.1563, allocations: 179.7 kB / 0.7261 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.445e-05/0.1564, allocations: 11.98 kB / 0.7261 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1566, allocations: 63.89 kB / 0.7261 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1567, allocations: 59.84 kB / 0.7262 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.1568, allocations: 16 kB / 0.7262 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.1568, allocations: 27.98 kB / 0.7262 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.1569, allocations: 15.92 kB / 0.7263 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.157, allocations: 63.88 kB / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1572, allocations: 151.8 kB / 0.7265 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1572, allocations: 0 / 0.7265 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1572, allocations: 0 / 0.7265 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.1572, allocations: 0 / 0.7265 GB, free: 1.359 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.0006105/0.1578, allocations: 442.6 kB / 0.7269 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1579, allocations: 8.031 kB / 0.7269 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.513e-05/0.1579, allocations: 4.188 kB / 0.7269 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.1579, allocations: 34.75 kB / 0.7269 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.158, allocations: 12.94 kB / 0.7269 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1581, allocations: 164.3 kB / 0.7271 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1581, allocations: 12.36 kB / 0.7271 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.1581, allocations: 8.375 kB / 0.7271 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1583, allocations: 53.94 kB / 0.7272 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1583, allocations: 0 / 0.7272 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1583, allocations: 0 / 0.7272 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1583, allocations: 4 kB / 0.7272 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.1583, allocations: 11.98 kB / 0.7272 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.1588, allocations: 360.6 kB / 0.7275 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.1589, allocations: 34.56 kB / 0.7276 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.159, allocations: 20.88 kB / 0.7276 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.159, allocations: 4 kB / 0.7276 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.1592, allocations: 79.36 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1592, allocations: 0 / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002756/0.1595, allocations: 113.5 kB / 0.7278 GB, free: 15.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1595, allocations: 59.34 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1596, allocations: 121.8 kB / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.1597, allocations: 29.7 kB / 0.728 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.1597, allocations: 88.14 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1598, allocations: 15.91 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1599, allocations: 49.69 kB / 0.7281 GB, free: 15.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.16, allocations: 326.8 kB / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1602, allocations: 59.97 kB / 0.7285 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1603, allocations: 94.62 kB / 0.7286 GB, free: 14.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1605, allocations: 159.6 kB / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1605, allocations: 0 / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004641/0.161, allocations: 265.3 kB / 0.729 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.1611, allocations: 67.39 kB / 0.729 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1611, allocations: 3.938 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1611, allocations: 4 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.1611, allocations: 7.922 kB / 0.7291 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1611, allocations: 4 kB / 0.7291 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.1615, allocations: 56.02 kB / 0.7291 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.1615, allocations: 15.98 kB / 0.7291 GB, free: 14.31 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,nor1.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.000105/0.1616, allocations: 121.8 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.1616, allocations: 4 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1617, allocations: 8.375 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1617, allocations: 0 / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1617, allocations: 8 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1617, allocations: 0 / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1618, allocations: 185.5 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1618, allocations: 7.938 kB / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.1618, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1618, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1618, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1618, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1618, allocations: 4 kB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.162, allocations: 109 kB / 0.7296 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.1621, allocations: 85.06 kB / 0.7296 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1621, allocations: 7.922 kB / 0.7296 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.1621, allocations: 0 / 0.7296 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.1621, allocations: 8 kB / 0.7297 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1621, allocations: 7.984 kB / 0.7297 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.1622, allocations: 91.22 kB / 0.7297 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1622, allocations: 0 / 0.7297 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002458/0.1625, allocations: 27.94 kB / 0.7298 GB, free: 13.55 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,nor1.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.0005595/0.163, allocations: 0.6554 MB / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.1634, allocations: 218.8 kB / 0.7306 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1634, allocations: 0 / 0.7306 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.1635, allocations: 28.45 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.0002488/0.1637, allocations: 25.64 kB / 0.7307 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1659, allocations: 1.714 MB / 0.7323 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1662, allocations: 0.6884 MB / 0.733 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.1662, 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.097e-05/0.1663, allocations: 19.44 kB / 0.733 GB, free: 10 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1663, allocations: 0 / 0.733 GB, free: 10 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.1859, allocations: 2.919 MB / 0.7359 GB, free: 7.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.546, allocations: 20.53 kB / 0.7359 GB, free: 7.199 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.419500264979433] Failed to read output from testmodel.py, exit status != 0: 8.674339699966367 8.690551237 8.530387705 Calling exit ...