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.TriggeredSampler.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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, 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.0009314/0.0009315, allocations: 172.8 kB / 326.5 MB, free: 2.691 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.786/1.786, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0009643/0.0009645, allocations: 95.97 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003757, allocations: 12.59 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2417, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001809/0.2436, allocations: 1.203 MB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.2442, allocations: 237.8 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.2443, allocations: 4 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.2443, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2444, allocations: 15.84 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.2446, allocations: 15.98 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.2447, allocations: 67.78 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2449, allocations: 16.47 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.245, allocations: 27.91 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.245, allocations: 27.84 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.245, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.2451, allocations: 4 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.2451, allocations: 11.92 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.2451, allocations: 19.88 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2453, allocations: 67.69 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2453, allocations: 4 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2453, allocations: 3.938 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2453, allocations: 0 / 0.8984 GB, free: 66.45 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.0005796/0.2459, allocations: 379.2 kB / 0.8988 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2459, allocations: 12.03 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.246, allocations: 4.844 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2461, allocations: 184.2 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2461, allocations: 8.359 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2461, allocations: 4.375 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.2464, allocations: 82.22 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2464, allocations: 3.938 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2464, allocations: 0 / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2464, allocations: 7.938 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.2466, allocations: 67.89 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.2471, allocations: 304.7 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.2473, allocations: 70.55 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.2474, allocations: 36.95 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2474, allocations: 7.938 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.2477, allocations: 95.34 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.2477, allocations: 0 / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004218/0.2481, allocations: 153.5 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.2481, allocations: 59.41 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.2482, allocations: 117.8 kB / 0.9 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2482, allocations: 25.7 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.2483, allocations: 95.98 kB / 0.9001 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.2483, allocations: 23.66 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.2484, allocations: 21.7 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.2484, allocations: 322.8 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/0.2485, allocations: 31.97 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2487, allocations: 72.58 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.2489, allocations: 108.2 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2489, allocations: 0 / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002583/0.2491, allocations: 125.4 kB / 0.9008 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2492, allocations: 16.17 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2492, allocations: 7.922 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2492, allocations: 4 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.2493, allocations: 19.98 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2493, allocations: 0 / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.2494, allocations: 15.98 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.2495, allocations: 4 kB / 0.9008 GB, free: 63.75 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 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,$whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$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): 11 * 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 7.814e-05/0.2495, allocations: 133.7 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.2496, allocations: 3.906 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.2498, allocations: 134 kB / 0.9011 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2499, allocations: 4 kB / 0.9011 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2499, allocations: 0 / 0.9011 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.2499, allocations: 81.05 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.2499, allocations: 7.938 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.25, allocations: 11.98 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.2501, allocations: 15.92 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002949/0.2504, allocations: 212.9 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002713/0.2506, allocations: 294.7 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001077/0.2508, allocations: 51.88 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.2508, allocations: 91.27 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of Backend: time 3.71e-07/0.2508, allocations: 4 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.2513, allocations: 130.3 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005185/0.2518, allocations: 0.6285 MB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.003175/0.255, allocations: 0.8891 MB / 0.9034 GB, free: 60.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)