Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 178.9 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007637/0.0007637, allocations: 90.28 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 12.31 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2089, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler): time 0.001366/0.2103, allocations: 1.112 MB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.2107, allocations: 228.9 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.2108, allocations: 0 / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.2108, allocations: 0 / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.2109, allocations: 3.938 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.211, allocations: 19.98 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.2111, allocations: 47.78 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.2112, allocations: 11.98 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.2113, allocations: 15.98 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.2113, allocations: 15.92 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2114, allocations: 0 / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2114, allocations: 4 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2114, allocations: 3.938 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.2114, allocations: 15.92 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.245e-05/0.2115, allocations: 52.08 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2115, allocations: 0 / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2115, allocations: 7.938 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2115, allocations: 0 / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004709/0.212, allocations: 357.1 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2121, allocations: 8.031 kB / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2121, allocations: 12.83 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.2122, allocations: 168.3 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2122, allocations: 384 / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2122, allocations: 4.375 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2124, allocations: 78.14 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2124, allocations: 192 / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2124, allocations: 3.938 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2125, allocations: 0 / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.2126, allocations: 55.95 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.213, allocations: 276.8 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.2131, allocations: 70.42 kB / 0.8992 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.2132, allocations: 32.95 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2132, allocations: 4 kB / 0.8993 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.2134, allocations: 75.39 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2134, allocations: 0 / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003541/0.2138, allocations: 133.6 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.2138, allocations: 59.34 kB / 0.8995 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.2139, allocations: 109.8 kB / 0.8996 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.2139, allocations: 29.7 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.2139, allocations: 80.14 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.2139, allocations: 23.73 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.214, allocations: 13.72 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.214, allocations: 322.8 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.2141, allocations: 27.97 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/0.2142, allocations: 55.41 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2144, allocations: 87.34 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2144, allocations: 7.938 kB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002057/0.2146, allocations: 109.6 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2146, allocations: 4 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2146, allocations: 4 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2147, allocations: 4.094 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.2147, allocations: 20.42 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.2148, allocations: 3.938 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.2148, allocations: 11.98 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.2148, allocations: 8 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.924e-05/0.2149, allocations: 117.8 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.2149, allocations: 3.906 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.2152, allocations: 122 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2152, allocations: 0 / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2152, allocations: 0 / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.2152, allocations: 77.11 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2152, allocations: 7.984 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.2153, allocations: 12 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.2154, allocations: 11.92 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002475/0.2156, allocations: 192.9 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002306/0.2158, allocations: 279.5 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.799e-05/0.2159, allocations: 36.02 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.216, allocations: 87.28 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of Backend: time 2.91e-07/0.216, allocations: 0 / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.2164, allocations: 126.3 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003679/0.2168, allocations: 0.5917 MB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.002348/0.2191, allocations: 0.6458 MB / 0.9026 GB, free: 61.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe 2>&1)