Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.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.001261/0.001261, allocations: 76.23 kB / 19.93 MB, free: 1.77 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.001365/0.001365, allocations: 171 kB / 23.22 MB, free: 4.887 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.377/1.377, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.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.8857/0.8857, allocations: 114 MB / 373.9 MB, free: 13.25 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5547 GB, free: 2.598 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.301e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.594 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001595/0.001618, allocations: 0.683 MB / 0.5554 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.002628, allocations: 0.828 MB / 0.5562 GB, free: 1.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.002664, allocations: 4 kB / 0.5562 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.002692, allocations: 7.938 kB / 0.5562 GB, free: 1.059 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.002759, allocations: 11.86 kB / 0.5562 GB, free: 1.047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.935e-05/0.002829, allocations: 11.98 kB / 0.5562 GB, free: 1.035 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.63e-05/0.002915, allocations: 39.92 kB / 0.5563 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.003023, allocations: 19.91 kB / 0.5563 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.328e-05/0.003106, allocations: 19.98 kB / 0.5563 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.003152, allocations: 11.98 kB / 0.5563 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.003173, allocations: 4 kB / 0.5563 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.003182, allocations: 4 kB / 0.5563 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.003204, allocations: 11.92 kB / 0.5564 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.003228, allocations: 12 kB / 0.5564 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.374e-05/0.003322, allocations: 47.84 kB / 0.5564 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003324, allocations: 0 / 0.5564 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003325, allocations: 0 / 0.5564 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.003328, allocations: 0 / 0.5564 GB, free: 0.8672 MB / 462.1 MB 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.0005096/0.003838, allocations: 280.8 kB / 0.5567 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003876, allocations: 12.62 kB / 0.5567 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.003917, allocations: 4.891 kB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004034, allocations: 125.7 kB / 0.5568 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.004047, allocations: 4.375 kB / 0.5568 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.004059, allocations: 4.375 kB / 0.5568 GB, free: 400 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.004309, allocations: 66.22 kB / 0.5569 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004317, allocations: 192 / 0.5569 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.004329, allocations: 4.359 kB / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.004333, allocations: 384 / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.004622, allocations: 75.8 kB / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.004939, allocations: 212.5 kB / 0.5572 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.005154, allocations: 54.53 kB / 0.5572 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.005309, allocations: 36.92 kB / 0.5573 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.005318, allocations: 0 / 0.5573 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.005351, allocations: 34.56 kB / 0.5573 GB, free: 15.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.005354, allocations: 4 kB / 0.5573 GB, free: 15.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005384/0.005892, allocations: 133.5 kB / 0.5574 GB, free: 15.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.005935, allocations: 51.41 kB / 0.5575 GB, free: 15.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.00603, allocations: 105.8 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.006048, allocations: 33.7 kB / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.006097, allocations: 84.09 kB / 0.5577 GB, free: 15.42 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.006125, allocations: 19.88 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.006159, allocations: 17.66 kB / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.006293, allocations: 318.8 kB / 0.558 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.006443, allocations: 31.95 kB / 0.5581 GB, free: 15.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.006577, allocations: 27.97 kB / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.00686, allocations: 72.78 kB / 0.5581 GB, free: 14.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.006861, allocations: 0 / 0.5581 GB, free: 14.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003186/0.00718, allocations: 97.56 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.007196, allocations: 7.938 kB / 0.5582 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.007199, allocations: 0 / 0.5582 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.007214, allocations: 4 kB / 0.5583 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.007339, allocations: 15.98 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.007343, allocations: 0 / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.007425, allocations: 19.92 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007431, allocations: 0 / 0.5583 GB, free: 14.77 MB / 478.1 MB 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.264e-05/0.007524, allocations: 117.8 kB / 0.5584 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.007546, allocations: 0 / 0.5584 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.00757, allocations: 11.94 kB / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.007572, allocations: 0 / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007576, allocations: 0 / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.007578, allocations: 4 kB / 0.5584 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.007726, allocations: 113.3 kB / 0.5585 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007727, allocations: 0 / 0.5585 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.972e-05/0.007827, allocations: 15.97 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.007831, allocations: 4 kB / 0.5585 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.007838, allocations: 336 / 0.5585 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.007844, allocations: 11.88 kB / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.007845, allocations: 0 / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.008228, allocations: 195.4 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.008236, allocations: 4 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.008251, allocations: 7.922 kB / 0.5587 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.008364, allocations: 19.92 kB / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.008399, allocations: 0 / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.008403, allocations: 0 / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.008457, allocations: 91.27 kB / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008457, allocations: 0 / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.008668, allocations: 8 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB 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.0001142/0.008782, allocations: 99.19 kB / 0.559 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.009132, allocations: 67.86 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009134, allocations: 0 / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.009288, allocations: 35.95 kB / 0.5591 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.009563, allocations: 12 kB / 0.5591 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.009872, allocations: 128.7 kB / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.403e-05/0.009936, allocations: 71.28 kB / 0.5593 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.699e-05/0.009963, allocations: 4 kB / 0.5593 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.009997, allocations: 12.5 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.009998, allocations: 0 / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of Templates: time 0.003038/0.01304, allocations: 0.7357 MB / 0.56 GB, free: 12.93 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.063760556280613] Failed to read output from testmodel.py, exit status != 0: 0.02095111459493637 0.034738066000000005 0.028550721 Calling exit ...