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.001347/0.001347, 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.001417/0.001417, 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.581/1.581, 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.02/1.02, allocations: 150 MB / 460.2 MB, free: 5.309 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.Reals.Validation.Sqrt,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sqrt",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.001941/0.001941, allocations: 73.52 kB / 0.6369 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 89.14 MB / 0.7239 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002417/0.1765, allocations: 0.642 MB / 0.7245 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1776, allocations: 0.8358 MB / 0.7253 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.1777, allocations: 0 / 0.7253 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.1777, allocations: 4 kB / 0.7254 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.1778, allocations: 3.938 kB / 0.7254 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.1779, allocations: 11.98 kB / 0.7254 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.443e-05/0.178, allocations: 27.92 kB / 0.7254 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1781, allocations: 0 / 0.7254 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.1782, allocations: 19.91 kB / 0.7254 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.1783, allocations: 8 kB / 0.7254 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1783, allocations: 3.938 kB / 0.7254 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.1783, allocations: 4 kB / 0.7254 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.1783, allocations: 0 / 0.7254 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1784, allocations: 23.86 kB / 0.7255 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1785, allocations: 20.19 kB / 0.7255 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.1785, allocations: 0 / 0.7255 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1785, allocations: 3.938 kB / 0.7255 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1785, allocations: 0 / 0.7255 GB, free: 2.391 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005551/0.179, allocations: 335.5 kB / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1791, allocations: 12.03 kB / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/0.1791, allocations: 192 / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.1792, allocations: 34.75 kB / 0.7258 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.1792, allocations: 4.938 kB / 0.7258 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.1794, allocations: 176.3 kB / 0.726 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1794, allocations: 384 / 0.726 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.1794, allocations: 384 / 0.726 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.1796, allocations: 53.98 kB / 0.7261 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1796, allocations: 0 / 0.7261 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1796, allocations: 0 / 0.7261 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.1796, allocations: 0 / 0.7261 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1798, allocations: 39.91 kB / 0.7261 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.1802, allocations: 248.9 kB / 0.7263 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1803, allocations: 38.59 kB / 0.7264 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.1804, allocations: 16.91 kB / 0.7264 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1804, allocations: 12 kB / 0.7264 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1804, allocations: 30.56 kB / 0.7264 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1804, allocations: 0 / 0.7264 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003894/0.1808, allocations: 81.58 kB / 0.7265 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1809, allocations: 51.41 kB / 0.7266 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.181, allocations: 106 kB / 0.7267 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.181, allocations: 29.7 kB / 0.7267 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.1811, allocations: 84.14 kB / 0.7268 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1811, allocations: 7.953 kB / 0.7268 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1811, allocations: 9.719 kB / 0.7268 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1813, allocations: 314.8 kB / 0.7271 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.1813, allocations: 19.98 kB / 0.7271 GB, free: 500 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.1814, allocations: 15.98 kB / 0.7271 GB, free: 484 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1816, allocations: 48.7 kB / 0.7272 GB, free: 432 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1816, allocations: 0 / 0.7272 GB, free: 432 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/0.1818, allocations: 61.66 kB / 0.7272 GB, free: 364 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1818, allocations: 8 kB / 0.7272 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1818, allocations: 0 / 0.7272 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1818, allocations: 4.094 kB / 0.7272 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.1819, allocations: 15.98 kB / 0.7273 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1819, allocations: 0 / 0.7273 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.182, allocations: 15.88 kB / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.182, allocations: 0 / 0.7273 GB, free: 320 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 (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 9.09e-05/0.1821, allocations: 109.8 kB / 0.7274 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1821, allocations: 4 kB / 0.7274 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.1821, allocations: 11.06 kB / 0.7274 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1821, allocations: 4 kB / 0.7274 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1821, allocations: 0 / 0.7274 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1821, allocations: 0 / 0.7274 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1824, allocations: 165.5 kB / 0.7275 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1824, allocations: 0 / 0.7275 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.1825, allocations: 15.92 kB / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1825, allocations: 0 / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1825, allocations: 0 / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1825, allocations: 0 / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1825, allocations: 0 / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.1828, allocations: 167.5 kB / 0.7277 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1829, allocations: 77.11 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1829, allocations: 4 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.183, allocations: 3.984 kB / 0.7278 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.183, allocations: 4 kB / 0.7278 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.183, allocations: 0 / 0.7278 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.1831, allocations: 83.31 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1831, allocations: 0 / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002197/0.1833, allocations: 8 kB / 0.7279 GB, free: 15.58 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 (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.0006477/0.1839, allocations: 0.7025 MB / 0.7286 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.1841, allocations: 35.95 kB / 0.7286 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1842, allocations: 0 / 0.7286 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.646e-05/0.1842, allocations: 19.92 kB / 0.7286 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1845, allocations: 11.98 kB / 0.7286 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.1851, allocations: 135.2 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1854, allocations: 0.6729 MB / 0.7294 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.1854, allocations: 0 / 0.7294 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.1854, allocations: 15.42 kB / 0.7294 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1854, allocations: 0 / 0.7294 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.2037, allocations: 1.311 MB / 0.7307 GB, free: 12.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.47, allocations: 8.594 kB / 0.7307 GB, free: 12.67 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.561491490982007] Failed to read output from testmodel.py, exit status != 0: 8.595319608983118 8.622144051 8.43882423 Calling exit ...