Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.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.001227/0.001227, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001286/0.001286, allocations: 204.3 kB / 23.04 MB, free: 5.008 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.3/1.3, allocations: 230.6 MB / 256.8 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] 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.8636/0.8636, allocations: 150 MB / 463.2 MB, free: 10.17 MB / 366.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.Reals.Validation.Sqrt,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",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.001808/0.001808, allocations: 63.91 kB / 0.6413 GB, free: 9.758 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1536, allocations: 89.18 MB / 0.7284 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001678/0.1553, allocations: 0.6488 MB / 0.729 GB, free: 8 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.1562, allocations: 0.8237 MB / 0.7298 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.1562, allocations: 0 / 0.7298 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.1563, allocations: 3.984 kB / 0.7298 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.1563, allocations: 11.88 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.1564, allocations: 4 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.285e-05/0.1565, allocations: 19.92 kB / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.1566, allocations: 15.98 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.1566, allocations: 11.98 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.1566, allocations: 7.938 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1567, allocations: 0 / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.1567, allocations: 4 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1567, allocations: 7.984 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.1567, allocations: 3.938 kB / 0.7299 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.478e-05/0.1568, allocations: 16.25 kB / 0.7299 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1568, allocations: 4 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1568, allocations: 0 / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.1568, allocations: 0 / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000387/0.1572, allocations: 270.2 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1572, allocations: 12.03 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.1572, allocations: 38.69 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.765e-05/0.1572, allocations: 0.9375 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1574, allocations: 122.5 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1574, allocations: 384 / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1574, allocations: 384 / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1575, allocations: 46.25 kB / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1575, allocations: 7.922 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.1575, allocations: 4 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1575, allocations: 0 / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1577, allocations: 31.97 kB / 0.7305 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.158, allocations: 216 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1581, allocations: 38.5 kB / 0.7307 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.1582, allocations: 20.91 kB / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1582, allocations: 4 kB / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1582, allocations: 38.55 kB / 0.7308 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1583, allocations: 0 / 0.7308 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003142/0.1586, allocations: 77.59 kB / 0.7308 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1586, allocations: 51.41 kB / 0.7309 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.1587, allocations: 105.8 kB / 0.731 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1587, allocations: 25.7 kB / 0.731 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1587, allocations: 80.14 kB / 0.7311 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.1587, allocations: 12.08 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1588, allocations: 21.64 kB / 0.7311 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1589, allocations: 310.8 kB / 0.7314 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.159, allocations: 15.98 kB / 0.7314 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.1591, allocations: 15.98 kB / 0.7314 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1592, allocations: 40.81 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1592, allocations: 8 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.1594, allocations: 65.61 kB / 0.7316 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1594, allocations: 8 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1594, allocations: 0 / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1594, allocations: 3.984 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.1595, allocations: 4 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1595, allocations: 0 / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.1595, allocations: 11.92 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1595, allocations: 8.031 kB / 0.7316 GB, free: 13.18 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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 7.85e-05/0.1596, allocations: 109.8 kB / 0.7317 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.1596, allocations: 3.953 kB / 0.7317 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.1597, allocations: 11.31 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1597, allocations: 192 / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1597, allocations: 0 / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1597, allocations: 7.969 kB / 0.7317 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1598, allocations: 128.6 kB / 0.7318 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1598, allocations: 0 / 0.7318 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.1599, allocations: 11.98 kB / 0.7319 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1599, allocations: 4 kB / 0.7319 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1599, allocations: 0 / 0.7319 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1599, allocations: 0 / 0.7319 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1599, allocations: 0 / 0.7319 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1601, allocations: 163.4 kB / 0.732 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.1601, allocations: 12 kB / 0.732 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.1601, allocations: 0 / 0.732 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1602, allocations: 7.984 kB / 0.732 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.1602, allocations: 4.031 kB / 0.732 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1602, allocations: 0 / 0.732 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.1603, allocations: 83.27 kB / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1603, allocations: 0 / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001972/0.1605, allocations: 4 kB / 0.7321 GB, free: 12.57 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0005181/0.161, allocations: 0.6967 MB / 0.7328 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1612, allocations: 43.98 kB / 0.7328 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1612, allocations: 0 / 0.7328 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.1613, allocations: 15.98 kB / 0.7329 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1615, allocations: 7.938 kB / 0.7329 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.1619, allocations: 139.1 kB / 0.733 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.1619, allocations: 59.34 kB / 0.7331 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.162, allocations: 4.125 kB / 0.7331 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.162, allocations: 11.44 kB / 0.7331 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.162, allocations: 0 / 0.7331 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.1882, allocations: 1.817 MB / 0.7348 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.883/10.07, allocations: 6.453 kB / 0.7348 GB, free: 9.836 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.412879375042394] Failed to read output from testmodel.py, exit status != 0: 10.173230843851343 10.197801166 10.036651001 Calling exit ...