Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001454/0.001454, allocations: 118.8 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.001663/0.001663, allocations: 202.3 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.472/1.472, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9576/0.9576, allocations: 150 MB / 460.2 MB, free: 5.215 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.Integers.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_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.001932/0.001932, allocations: 69.48 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1541, allocations: 89.14 MB / 0.7238 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001764/0.1559, allocations: 0.5282 MB / 0.7244 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.17e-05/0.1559, allocations: 0 / 0.7244 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.156, allocations: 0 / 0.7244 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.156, allocations: 0 / 0.7244 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.481e-05/0.156, allocations: 3.938 kB / 0.7244 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.416e-05/0.156, allocations: 4 kB / 0.7244 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.1561, allocations: 4 kB / 0.7244 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.1561, allocations: 7.984 kB / 0.7244 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.1562, allocations: 0 / 0.7244 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.594e-05/0.1562, allocations: 0 / 0.7244 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1562, allocations: 0 / 0.7244 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-06/0.1562, allocations: 0 / 0.7244 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.1562, allocations: 0 / 0.7244 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1562, allocations: 4 kB / 0.7244 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.406e-05/0.1563, allocations: 7.922 kB / 0.7244 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1563, allocations: 0 / 0.7244 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1563, allocations: 0 / 0.7244 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.1563, allocations: 4 kB / 0.7244 GB, free: 3.445 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.0003233/0.1566, allocations: 319.8 kB / 0.7247 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1566, allocations: 8.031 kB / 0.7247 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.025e-05/0.1567, allocations: 192 / 0.7247 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.1567, allocations: 34.69 kB / 0.7247 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.905e-05/0.1567, allocations: 4.938 kB / 0.7248 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1568, allocations: 164.3 kB / 0.7249 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1568, allocations: 384 / 0.7249 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.1568, allocations: 4.375 kB / 0.7249 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.304e-05/0.1569, allocations: 41.95 kB / 0.725 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1569, allocations: 0 / 0.725 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1569, allocations: 0 / 0.725 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1569, allocations: 0 / 0.725 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.157, allocations: 0 / 0.725 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.1573, allocations: 383.5 kB / 0.7253 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/0.1574, allocations: 173.1 kB / 0.7255 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.1574, allocations: 84.12 kB / 0.7256 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1574, allocations: 75.28 kB / 0.7256 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.1575, allocations: 113.9 kB / 0.7257 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1575, allocations: 0 / 0.7257 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.004e-05/0.1576, allocations: 25.7 kB / 0.7258 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.1576, allocations: 135.1 kB / 0.7259 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.1577, allocations: 97.86 kB / 0.726 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1577, allocations: 25.7 kB / 0.726 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.1578, allocations: 80.14 kB / 0.7261 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.1578, allocations: 0 / 0.7261 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1578, allocations: 17.66 kB / 0.7261 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.158, allocations: 315 kB / 0.7264 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-06/0.158, allocations: 4 kB / 0.7264 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-06/0.158, allocations: 0 / 0.7264 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.357e-05/0.158, allocations: 79.22 kB / 0.7265 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.158, allocations: 83.28 kB / 0.7266 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.212e-05/0.1581, allocations: 29.7 kB / 0.7266 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.1581, allocations: 79.28 kB / 0.7267 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/0.1582, allocations: 79.22 kB / 0.7267 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.315e-05/0.1582, allocations: 160.5 kB / 0.7269 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.117e-05/0.1583, allocations: 79.22 kB / 0.727 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.295e-05/0.1583, allocations: 154.5 kB / 0.7271 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.1584, allocations: 75.28 kB / 0.7272 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.1584, allocations: 83.22 kB / 0.7273 GB, free: 260 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.0001537/0.1586, allocations: 268.3 kB / 0.7275 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.1587, allocations: 101 kB / 0.7276 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.1587, allocations: 108 kB / 0.7277 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/0.1588, allocations: 184.2 kB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.24e-05/0.1589, allocations: 176.3 kB / 0.7281 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-05/0.1589, allocations: 184.2 kB / 0.7282 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1592, allocations: 413.1 kB / 0.7286 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/0.1592, allocations: 104.9 kB / 0.7287 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.1593, allocations: 101 kB / 0.7288 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.795e-05/0.1593, allocations: 176.3 kB / 0.729 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.1594, allocations: 192.2 kB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-05/0.1595, allocations: 180.6 kB / 0.7294 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.295e-05/0.1596, allocations: 184.2 kB / 0.7295 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.1597, allocations: 311.8 kB / 0.7298 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.1598, allocations: 186 kB / 0.73 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.1599, allocations: 180.3 kB / 0.7302 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.16, allocations: 108.9 kB / 0.7303 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.1601, allocations: 176.3 kB / 0.7305 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.1601, allocations: 101 kB / 0.7306 GB, free: 12.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.1602, allocations: 87.22 kB / 0.7306 GB, free: 12.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1602, allocations: 0 / 0.7306 GB, free: 12.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002505/0.1604, allocations: 0 / 0.7306 GB, free: 12.59 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.0004591/0.1609, allocations: 0.8127 MB / 0.7314 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.453e-05/0.1609, allocations: 0 / 0.7314 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1609, allocations: 0 / 0.7314 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-06/0.1609, allocations: 3.938 kB / 0.7314 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1613, allocations: 463.7 kB / 0.7319 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1624, allocations: 1.528 MB / 0.7334 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1627, allocations: 0.6729 MB / 0.734 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.091e-06/0.1627, allocations: 0 / 0.734 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.1627, allocations: 7.438 kB / 0.734 GB, free: 8.969 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1627, allocations: 0 / 0.734 GB, free: 8.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.1788, allocations: 0.9623 MB / 0.735 GB, free: 8.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.772/8.951, allocations: 12.41 kB / 0.735 GB, free: 8.145 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.732737282000016] Failed to read output from testmodel.py, exit status != 0: 9.078430149005726 9.103027585 8.942317829 Calling exit ...