Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.00192/0.00192, allocations: 91.06 kB / 20.2 MB, free: 4.336 MB / 18.57 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.002359/0.002359, allocations: 165.3 kB / 23.52 MB, free: 1.023 MB / 18.57 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.9641/0.9641, allocations: 115 MB / 375.3 MB, free: 7.562 MB / 346.7 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 480.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/3.019e-05, allocations: 4.531 kB / 480.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002203/0.002233, allocations: 0.9883 MB / 481.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.003622, allocations: 1.032 MB / 482.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.003837, allocations: 4 kB / 482.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.003997, allocations: 22.8 kB / 482.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.004082, allocations: 20.83 kB / 482.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.004429, allocations: 75.36 kB / 483 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.004628, allocations: 176.7 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.004785, allocations: 61.14 kB / 483.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.004944, allocations: 104.4 kB / 483.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.005035, allocations: 61.52 kB / 483.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.005069, allocations: 18.88 kB / 483.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-05/0.005124, allocations: 21.02 kB / 483.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.005156, allocations: 36.73 kB / 483.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.005213, allocations: 53.56 kB / 483.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.005433, allocations: 197.9 kB / 483.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.005436, allocations: 0 / 483.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005436, allocations: 0.75 kB / 483.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.005442, allocations: 3.938 kB / 483.7 MB, free: 10.06 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008456/0.006288, allocations: 422 kB / 484.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.006322, allocations: 10.72 kB / 484.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.006467, allocations: 37.95 kB / 484.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.006787, allocations: 172.1 kB / 484.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.006813, allocations: 15.06 kB / 484.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.006865, allocations: 21.17 kB / 484.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.007245, allocations: 175.7 kB / 484.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.007257, allocations: 1.094 kB / 484.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.007281, allocations: 10.16 kB / 484.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.00729, allocations: 3.156 kB / 484.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.007604, allocations: 111.5 kB / 484.7 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.008577, allocations: 443.4 kB / 485.1 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.00897, allocations: 136.3 kB / 485.2 MB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.009139, allocations: 81.52 kB / 485.3 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.009173, allocations: 4.062 kB / 485.3 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.009412, allocations: 154.9 kB / 485.5 MB, free: 8.879 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.009413, allocations: 0 / 485.5 MB, free: 8.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006038/0.01002, allocations: 224.7 kB / 485.7 MB, free: 8.789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.01005, allocations: 57.78 kB / 485.8 MB, free: 8.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01016, allocations: 146.2 kB / 485.9 MB, free: 8.609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.01019, allocations: 31.89 kB / 485.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.01025, allocations: 117.9 kB / 486 MB, free: 8.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.0103, allocations: 66.77 kB / 486.1 MB, free: 8.414 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.01038, allocations: 47.41 kB / 486.2 MB, free: 8.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002893/0.01067, allocations: 321.5 kB / 486.5 MB, free: 24.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.01089, allocations: 65.7 kB / 486.5 MB, free: 24.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.0111, allocations: 95.16 kB / 486.6 MB, free: 24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.01145, allocations: 141.6 kB / 486.8 MB, free: 23.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01145, allocations: 0 / 486.8 MB, free: 23.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005183/0.01197, allocations: 222.2 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01199, allocations: 6.094 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.012, allocations: 2.469 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.01202, allocations: 1.188 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.01223, allocations: 36.7 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01224, allocations: 2.031 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.01238, allocations: 30.03 kB / 487.1 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.01241, allocations: 5 kB / 487.1 MB, free: 23.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001376/0.01255, allocations: 133.4 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.01258, allocations: 18.34 kB / 487.2 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.01301, allocations: 202.2 kB / 487.4 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01302, allocations: 1.094 kB / 487.4 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01302, allocations: 8.078 kB / 487.4 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01303, allocations: 0 / 487.4 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007975/0.01383, allocations: 0.496 MB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.01383, allocations: 2.906 kB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.01401, allocations: 32.8 kB / 488 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01402, allocations: 3.625 kB / 488 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.01404, allocations: 7.375 kB / 488 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.01405, allocations: 7.312 kB / 488 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.01405, allocations: 6.406 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.01468, allocations: 379.7 kB / 488.3 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.01471, allocations: 27.31 kB / 488.4 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01474, allocations: 11.11 kB / 488.4 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.0149, allocations: 20.23 kB / 488.4 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.01497, allocations: 22.8 kB / 488.4 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.01499, allocations: 10.28 kB / 488.4 MB, free: 22.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.835e-05/0.01509, allocations: 109.1 kB / 488.5 MB, free: 22.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01509, allocations: 0.8125 kB / 488.5 MB, free: 22.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.0154, allocations: 39.92 kB / 488.6 MB, free: 22.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001471/0.01555, allocations: 108.7 kB / 488.7 MB, free: 22.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.01596, allocations: 148.1 kB / 488.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.01597, allocations: 2.062 kB / 488.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.01615, allocations: 85.34 kB / 488.9 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.01652, allocations: 33.97 kB / 489 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.01716, allocations: 369.9 kB / 489.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.0173, allocations: 115 kB / 489.4 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.01738, allocations: 15.47 kB / 489.4 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.01745, allocations: 22.06 kB / 489.5 MB, free: 22.26 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01745, allocations: 0 / 489.5 MB, free: 22.26 MB / 426.7 MB Notification: Performance of Templates: time 0.005488/0.02294, allocations: 1.742 MB / 491.2 MB, free: 22.14 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.662850333028473]