Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.404/2.404, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 173.8 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.592/2.592, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009656/0.0009653, allocations: 90.36 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006372, allocations: 11.5 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2086, allocations: 106.3 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001709/0.2104, allocations: 1.179 MB / 0.9002 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005097/0.211, allocations: 228.3 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.211, allocations: 4 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.2111, allocations: 7.875 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.2112, allocations: 7.922 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2113, allocations: 19.98 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.2115, allocations: 63.77 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2116, allocations: 16.19 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.2117, allocations: 27.91 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.2117, allocations: 23.84 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2118, allocations: 4 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.2118, allocations: 4 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2118, allocations: 7.984 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.2119, allocations: 37.64 kB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.212, allocations: 43.91 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.212, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.212, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.212, allocations: 0 / 0.9007 GB, free: 63.74 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006456/0.2127, allocations: 383.6 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2127, allocations: 8.031 kB / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.2128, allocations: 8.844 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2129, allocations: 176.3 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2129, allocations: 8.375 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.213, allocations: 4.375 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.2133, allocations: 86.09 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2133, allocations: 7.938 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2133, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2133, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.2136, allocations: 63.89 kB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.2142, allocations: 308.7 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.2144, allocations: 74.48 kB / 0.9018 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.2146, allocations: 36.95 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.2147, allocations: 4 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.215, allocations: 87.38 kB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/0.215, allocations: 0 / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0006365/0.2156, allocations: 161.5 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.2157, allocations: 63.33 kB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.2158, allocations: 113.8 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2158, allocations: 29.7 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.2159, allocations: 99.84 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.2159, allocations: 19.8 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.2159, allocations: 0 / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.216, allocations: 326.8 kB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.2162, allocations: 31.98 kB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2164, allocations: 68.27 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2166, allocations: 39.91 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2166, allocations: 0 / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004351/0.217, allocations: 133.5 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2171, allocations: 8 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2171, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2171, allocations: 112 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2173, allocations: 27.86 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2173, allocations: 4.109 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.2175, allocations: 19.98 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.2175, allocations: 11.94 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.2176, allocations: 124.1 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.2176, allocations: 3.906 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.2181, allocations: 134 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2181, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2181, allocations: 7.984 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2181, allocations: 0 / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.2189, allocations: 410.3 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.2189, allocations: 4 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.219, allocations: 8 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.219, allocations: 0 / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.219, allocations: 7.984 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2191, allocations: 3.938 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2191, allocations: 0 / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.2195, allocations: 219.9 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.2196, allocations: 85.02 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.2196, allocations: 0 / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2198, allocations: 19.92 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2199, allocations: 15.92 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2199, allocations: 3.938 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.22, allocations: 91.27 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.22, allocations: 0 / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003077/0.2203, allocations: 16 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.2204, allocations: 104.1 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.2208, allocations: 88 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2209, allocations: 0 / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2211, allocations: 44.52 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2215, allocations: 13.38 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.222, allocations: 195.2 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2221, allocations: 0.6926 MB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.935e-05/0.2222, allocations: 4 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.2222, allocations: 11.42 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.253e-06/0.2223, allocations: 4 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.003721/0.226, allocations: 0.7724 MB / 0.906 GB, free: 57.94 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)