Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001341/0.001341, allocations: 114.9 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.001357/0.001357, allocations: 201.6 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.543/1.543, 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.9831/0.9831, allocations: 150 MB / 460.2 MB, free: 5.297 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.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.00199/0.00199, allocations: 64.02 kB / 0.6368 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 89.13 MB / 0.7239 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0017/0.1741, allocations: 0.5376 MB / 0.7244 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.593e-05/0.1742, allocations: 0 / 0.7244 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.1742, allocations: 0 / 0.7244 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.1742, allocations: 0 / 0.7244 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.286e-05/0.1742, allocations: 0 / 0.7244 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.004e-05/0.1743, allocations: 0 / 0.7244 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.1743, allocations: 7.938 kB / 0.7244 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.1744, allocations: 0 / 0.7244 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.435e-05/0.1744, allocations: 7.984 kB / 0.7244 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.1744, allocations: 4 kB / 0.7244 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1744, allocations: 0 / 0.7244 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-06/0.1744, allocations: 0 / 0.7244 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.1744, allocations: 4 kB / 0.7244 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.1745, allocations: 3.938 kB / 0.7244 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.443e-05/0.1745, allocations: 0 / 0.7244 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1745, allocations: 0 / 0.7244 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1745, allocations: 0 / 0.7244 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.1745, allocations: 3.984 kB / 0.7244 GB, free: 3.492 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003323/0.1749, allocations: 315.8 kB / 0.7247 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1749, allocations: 8.031 kB / 0.7247 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.106e-05/0.1749, allocations: 8.188 kB / 0.7247 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.175, allocations: 30.75 kB / 0.7248 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.874e-05/0.175, allocations: 0.9375 kB / 0.7248 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1751, allocations: 168.3 kB / 0.7249 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1751, allocations: 384 / 0.7249 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-06/0.1751, allocations: 384 / 0.7249 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.1752, allocations: 41.95 kB / 0.725 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1752, allocations: 0 / 0.725 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.1752, allocations: 0 / 0.725 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1752, allocations: 0 / 0.725 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.333e-05/0.1752, allocations: 0 / 0.725 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.1756, allocations: 383.5 kB / 0.7253 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1757, allocations: 169.1 kB / 0.7255 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.1757, allocations: 92.17 kB / 0.7256 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.1758, allocations: 75.28 kB / 0.7256 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/0.1758, allocations: 105.8 kB / 0.7257 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.1758, allocations: 0 / 0.7257 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.708e-05/0.1759, allocations: 25.7 kB / 0.7258 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.176, allocations: 127.1 kB / 0.7259 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1761, allocations: 109.8 kB / 0.726 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1761, allocations: 25.7 kB / 0.726 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.1762, allocations: 80.14 kB / 0.7261 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.1762, allocations: 3.938 kB / 0.7261 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.1762, allocations: 13.72 kB / 0.7261 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1763, allocations: 314.8 kB / 0.7264 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-06/0.1763, allocations: 0 / 0.7264 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-06/0.1763, allocations: 4.125 kB / 0.7264 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.1764, allocations: 79.22 kB / 0.7265 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.39e-05/0.1764, allocations: 79.28 kB / 0.7266 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.69e-05/0.1765, allocations: 29.7 kB / 0.7266 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.1765, allocations: 83.27 kB / 0.7267 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/0.1766, allocations: 79.22 kB / 0.7268 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.742e-05/0.1766, allocations: 160.5 kB / 0.7269 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.1767, allocations: 79.28 kB / 0.727 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-05/0.1768, allocations: 154.5 kB / 0.7271 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.1768, allocations: 79.28 kB / 0.7272 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.1769, allocations: 87.2 kB / 0.7273 GB, free: 308 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001477/0.177, allocations: 260.3 kB / 0.7275 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.1771, allocations: 109 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.1772, allocations: 116.1 kB / 0.7278 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-05/0.1773, allocations: 180.2 kB / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.958e-05/0.1774, allocations: 176.3 kB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.705e-05/0.1774, allocations: 180.2 kB / 0.7283 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1777, allocations: 409.2 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.759e-05/0.1778, allocations: 105 kB / 0.7288 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.1778, allocations: 104.9 kB / 0.7289 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.607e-05/0.1779, allocations: 184.2 kB / 0.729 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/0.178, allocations: 184.2 kB / 0.7292 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.459e-05/0.1781, allocations: 176.6 kB / 0.7294 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.388e-05/0.1782, allocations: 184.2 kB / 0.7296 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1784, allocations: 311.8 kB / 0.7298 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1785, allocations: 182 kB / 0.73 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.1786, allocations: 184.3 kB / 0.7302 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.584e-05/0.1787, allocations: 101 kB / 0.7303 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1788, allocations: 188.2 kB / 0.7305 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.1788, allocations: 105 kB / 0.7306 GB, free: 12.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.1789, allocations: 75.28 kB / 0.7306 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1789, allocations: 0 / 0.7306 GB, free: 12.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002936/0.1792, allocations: 3.938 kB / 0.7306 GB, free: 12.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005496/0.1797, allocations: 0.8165 MB / 0.7314 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.474e-05/0.1798, allocations: 0 / 0.7314 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1798, allocations: 0 / 0.7314 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.1798, allocations: 4 kB / 0.7314 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.1802, allocations: 463.6 kB / 0.7319 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1815, allocations: 1.532 MB / 0.7334 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1818, allocations: 0.669 MB / 0.734 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.446e-06/0.1818, allocations: 0 / 0.734 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.1818, allocations: 7.438 kB / 0.734 GB, free: 9.016 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1818, allocations: 0 / 0.734 GB, free: 9.016 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.1986, allocations: 0.9653 MB / 0.735 GB, free: 8.188 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.398, allocations: 15.36 kB / 0.735 GB, free: 8.18 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.333028902998194] Failed to read output from testmodel.py, exit status != 0: 8.52834638900822 8.550349724 8.371948906 Calling exit ...