Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001934/0.001934, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.00208/0.00208, allocations: 173.6 kB / 23.24 MB, free: 1.324 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.622/1.622, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.267/3.267, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.492e-05, allocations: 5.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002075/0.00211, allocations: 0.6748 MB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.003778, allocations: 1.104 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.003844, allocations: 0 / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.003878, allocations: 3.938 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.003953, allocations: 15.86 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.004266, allocations: 55.75 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004406, allocations: 63.84 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004507, allocations: 11.97 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.00461, allocations: 43.84 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.004679, allocations: 23.95 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.004701, allocations: 8 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-05/0.004787, allocations: 27.92 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.00482, allocations: 23.91 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.00486, allocations: 12 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.005055, allocations: 87.72 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005057, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005058, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.005062, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007132/0.005775, allocations: 306.2 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.005819, allocations: 13.34 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.005917, allocations: 12.89 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.006043, allocations: 117.6 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.00607, allocations: 8.312 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.006092, allocations: 8.375 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.006343, allocations: 78.2 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.006354, allocations: 192 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.006366, allocations: 384 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.006372, allocations: 384 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.006592, allocations: 63.89 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.007159, allocations: 240.5 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.007376, allocations: 70.53 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.007501, allocations: 36.84 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.007528, allocations: 0 / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.007768, allocations: 103.4 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.007769, allocations: 4 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.000541/0.00831, allocations: 173.8 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.008374, allocations: 55.39 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.008489, allocations: 113.9 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.00852, allocations: 33.64 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.008604, allocations: 92.31 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.008639, allocations: 23.91 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.008701, allocations: 41.64 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.00888, allocations: 322.8 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.009014, allocations: 39.97 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.009161, allocations: 54.55 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.009426, allocations: 106.4 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.009428, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003547/0.009783, allocations: 145.5 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.009801, allocations: 7.938 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.009806, allocations: 0 / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.009827, allocations: 7.984 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.009965, allocations: 19.92 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.009973, allocations: 7.938 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.01005, allocations: 15.92 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01006, allocations: 4 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001167/0.01018, allocations: 121.9 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.0102, allocations: 7.891 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.01058, allocations: 146 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01058, allocations: 0 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01059, allocations: 0 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.01059, allocations: 0 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.01116, allocations: 358 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01116, allocations: 4 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.01123, allocations: 11.98 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01123, allocations: 0 / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.01125, allocations: 7.984 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01125, allocations: 0 / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01125, allocations: 3.938 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.01165, allocations: 235.6 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.01167, allocations: 11.89 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01169, allocations: 8.234 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.01179, allocations: 4 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.01185, allocations: 19.92 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01186, allocations: 7.984 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.01192, allocations: 83.28 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01192, allocations: 0 / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002422/0.01216, allocations: 16 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002195/0.01238, allocations: 107.2 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.01272, allocations: 95.88 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01272, allocations: 0 / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.01286, allocations: 43.91 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01313, allocations: 11.94 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.01359, allocations: 161.6 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.01368, allocations: 75.41 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.01372, allocations: 8.484 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.01375, allocations: 12.5 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.01375, allocations: 0 / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of Templates: time 0.00459/0.01834, allocations: 1.076 MB / 1.008 GB, free: 5.688 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.081400484777987]