Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.001326/0.001326, allocations: 72.45 kB / 20.51 MB, free: 1.285 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.001494/0.001494, allocations: 169 kB / 23.77 MB, free: 4.457 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.433/1.433, allocations: 177.2 MB / 204.1 MB, free: 8.992 MB / 190.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.9715/0.9715, allocations: 113.9 MB / 374.5 MB, free: 12.87 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add") [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.003158/0.003158, allocations: 65.92 kB / 0.5551 GB, free: 2.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1789, allocations: 89.16 MB / 0.6421 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.002094/0.181, allocations: 0.6676 MB / 0.6428 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1821, allocations: 0.8241 MB / 0.6436 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.1821, allocations: 0 / 0.6436 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.1821, allocations: 3.938 kB / 0.6436 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/0.1822, allocations: 11.92 kB / 0.6436 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.153e-05/0.1823, allocations: 11.98 kB / 0.6436 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.1824, allocations: 39.86 kB / 0.6437 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1825, allocations: 11.98 kB / 0.6437 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1827, allocations: 23.97 kB / 0.6437 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.1827, allocations: 15.92 kB / 0.6437 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1827, allocations: 4 kB / 0.6437 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.1827, allocations: 4 kB / 0.6437 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.1828, allocations: 7.938 kB / 0.6437 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.1828, allocations: 19.92 kB / 0.6438 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1829, allocations: 47.69 kB / 0.6438 GB, free: 7.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1829, allocations: 0 / 0.6438 GB, free: 7.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1829, allocations: 0 / 0.6438 GB, free: 7.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1829, allocations: 0 / 0.6438 GB, free: 7.77 MB / 0.545 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.0005679/0.1835, allocations: 290.2 kB / 0.6441 GB, free: 7.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1835, allocations: 12.03 kB / 0.6441 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1836, allocations: 0.9375 kB / 0.6441 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1837, allocations: 122.4 kB / 0.6442 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1837, allocations: 8.375 kB / 0.6442 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1837, allocations: 384 / 0.6442 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.184, allocations: 66.22 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.184, allocations: 4.125 kB / 0.6443 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.184, allocations: 7.938 kB / 0.6443 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.184, allocations: 4 kB / 0.6443 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.1843, allocations: 63.86 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.1848, allocations: 208.6 kB / 0.6446 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.185, allocations: 50.53 kB / 0.6446 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1852, allocations: 48.86 kB / 0.6446 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1852, allocations: 4 kB / 0.6447 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1853, allocations: 38.48 kB / 0.6447 GB, free: 6.746 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1853, allocations: 0 / 0.6447 GB, free: 6.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005655/0.1858, allocations: 129.5 kB / 0.6448 GB, free: 6.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1859, allocations: 51.41 kB / 0.6449 GB, free: 6.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.186, allocations: 113.8 kB / 0.645 GB, free: 6.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.186, allocations: 29.7 kB / 0.645 GB, free: 6.395 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.1861, allocations: 80.14 kB / 0.6451 GB, free: 6.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1861, allocations: 15.94 kB / 0.6451 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1862, allocations: 9.719 kB / 0.6451 GB, free: 6.281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1863, allocations: 318.8 kB / 0.6454 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1865, allocations: 31.95 kB / 0.6454 GB, free: 5.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1866, allocations: 31.97 kB / 0.6455 GB, free: 5.898 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.1869, allocations: 68.72 kB / 0.6455 GB, free: 5.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1869, allocations: 0 / 0.6455 GB, free: 5.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003471/0.1873, allocations: 109.5 kB / 0.6456 GB, free: 5.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1873, allocations: 4 kB / 0.6456 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1873, allocations: 4 kB / 0.6456 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1873, allocations: 0 / 0.6456 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1874, allocations: 15.97 kB / 0.6457 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1874, allocations: 0 / 0.6457 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.1875, allocations: 11.98 kB / 0.6457 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1875, allocations: 0 / 0.6457 GB, free: 5.68 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.223e-05/0.1876, allocations: 117.8 kB / 0.6458 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1877, allocations: 16.09 kB / 0.6458 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.1877, allocations: 8 kB / 0.6458 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1877, allocations: 3.984 kB / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1877, allocations: 0 / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1877, allocations: 0 / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1878, allocations: 117.2 kB / 0.6459 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.1878, allocations: 3.984 kB / 0.6459 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1879, allocations: 23.92 kB / 0.6459 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1879, allocations: 0 / 0.6459 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.188, allocations: 4 kB / 0.6459 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.188, allocations: 0 / 0.6459 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.188, allocations: 0 / 0.6459 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.1883, allocations: 187.5 kB / 0.6461 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.1884, allocations: 11.88 kB / 0.6461 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1884, allocations: 4 kB / 0.6461 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1885, allocations: 15.98 kB / 0.6462 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1885, allocations: 0 / 0.6462 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1885, allocations: 11.94 kB / 0.6462 GB, free: 5.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.1886, allocations: 87.27 kB / 0.6463 GB, free: 5.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1886, allocations: 0 / 0.6463 GB, free: 5.016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002298/0.1888, allocations: 8 kB / 0.6463 GB, free: 5.008 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 (3): * Single equations (assignments): 3 * 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.0001212/0.1889, allocations: 91.25 kB / 0.6463 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1893, allocations: 67.92 kB / 0.6464 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.1893, allocations: 4 kB / 0.6464 GB, free: 4.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1895, allocations: 35.95 kB / 0.6465 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1898, allocations: 5.406 kB / 0.6465 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.1902, allocations: 133.3 kB / 0.6466 GB, free: 4.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.609e-05/0.1902, allocations: 67.34 kB / 0.6466 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.1903, allocations: 4 kB / 0.6467 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1903, allocations: 12.5 kB / 0.6467 GB, free: 4.543 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1903, allocations: 0 / 0.6467 GB, free: 4.543 MB / 0.545 GB Notification: Performance of Templates: time 0.003347/0.1936, allocations: 0.7121 MB / 0.6474 GB, free: 3.84 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.486963137052953] Failed to read output from testmodel.py, exit status != 0: 0.20431920094415545 0.21887952199999994 0.032551962000000004 Calling exit ...