Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 103.7 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.912/1.912, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 75 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002754/0.2837, allocations: 0.7778 MB / 0.7856 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.2857, allocations: 1.152 MB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.2858, allocations: 0 / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.2859, allocations: 7.938 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2861, allocations: 15.88 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.2867, allocations: 127.1 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.287, allocations: 139.7 kB / 0.787 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2871, allocations: 20.17 kB / 0.787 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2873, allocations: 47.91 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.2874, allocations: 51.8 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.2875, allocations: 12 kB / 0.7871 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.2876, allocations: 20 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.2876, allocations: 19.92 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.2877, allocations: 51.77 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.2879, allocations: 123.6 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.2879, allocations: 3.984 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2879, allocations: 0 / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.288, allocations: 0 / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007332/0.2887, allocations: 420.9 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2888, allocations: 8.031 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.2888, allocations: 8.844 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4558/0.7446, allocations: 171 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.7447, allocations: 10.19 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.7448, allocations: 8.438 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.7451, allocations: 77.05 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7451, allocations: 0 / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.7451, allocations: 3.812 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.7451, allocations: 0 / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.7453, allocations: 56.36 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.7458, allocations: 333.3 kB / 0.7883 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.746, allocations: 65.75 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.7461, allocations: 29.11 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.7461, allocations: 6.312 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.7464, allocations: 89.69 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.7464, allocations: 3.828 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004177/0.7468, allocations: 151.2 kB / 0.7887 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.7469, allocations: 57.88 kB / 0.7887 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.7469, allocations: 118.9 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.747, allocations: 30.39 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.747, allocations: 95.3 kB / 0.789 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.747, allocations: 22.03 kB / 0.789 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.7471, allocations: 38.23 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.7472, allocations: 317.1 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.7473, allocations: 51.98 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.7475, allocations: 92.78 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.7477, allocations: 152.5 kB / 0.7896 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7477, allocations: 0 / 0.7896 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003784/0.7481, allocations: 215.1 kB / 0.7898 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.7482, allocations: 37.56 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7482, allocations: 4 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7482, allocations: 0 / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.7483, allocations: 20.12 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7483, allocations: 6.594 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.7485, allocations: 40.17 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.7485, allocations: 11.06 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.855e-05/0.7486, allocations: 130.2 kB / 0.79 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.7487, allocations: 13.09 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.7489, allocations: 121.8 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.749, allocations: 0.75 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.749, allocations: 2.625 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.749, allocations: 82.11 kB / 0.7903 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.749, allocations: 5.281 kB / 0.7903 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.7491, allocations: 10.59 kB / 0.7903 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.7491, allocations: 9.422 kB / 0.7903 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002856/0.7494, allocations: 203.8 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002777/0.7497, allocations: 280 kB / 0.7907 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001076/0.7498, allocations: 37.31 kB / 0.7908 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.7499, allocations: 93.77 kB / 0.7909 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of Backend: time 1.042e-06/0.7499, allocations: 1.688 kB / 0.7909 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005836/0.7505, allocations: 231.3 kB / 0.7911 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000461/0.7509, allocations: 0.6071 MB / 0.7917 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.004156/0.7551, allocations: 1.547 MB / 0.7932 GB, free: 46.21 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)