Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.754/2.754, allocations: 287.3 MB / 302.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001559, allocations: 182.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.468/2.468, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 108.3 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007146/0.0007148, allocations: 13.2 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2803, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001062/0.2814, allocations: 478.3 kB / 0.9787 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.283, allocations: 1.115 MB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.2831, allocations: 0 / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.2832, allocations: 7.922 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2833, allocations: 11.98 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.2839, allocations: 116.4 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.284, allocations: 59.92 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2842, allocations: 19.97 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.2843, allocations: 39.91 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.2844, allocations: 39.81 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2844, allocations: 8 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.2845, allocations: 15.98 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.2845, allocations: 11.98 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.2846, allocations: 37.64 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2847, allocations: 79.81 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2848, allocations: 0 / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2848, allocations: 0 / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2848, allocations: 0 / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000619/0.2854, allocations: 405.1 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2855, allocations: 8.031 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.2856, allocations: 8 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.2857, allocations: 170.9 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2857, allocations: 15.92 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.2858, allocations: 8 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.286, allocations: 69.61 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.286, allocations: 3.984 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2861, allocations: 4 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2861, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.2864, allocations: 55.95 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.287, allocations: 340.7 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.2872, allocations: 66.55 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.2872, allocations: 4 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.2876, allocations: 99.39 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.2876, allocations: 0 / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000643/0.2882, allocations: 153.6 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2883, allocations: 55.36 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.2884, allocations: 125.7 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.2884, allocations: 33.7 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.2885, allocations: 92.2 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.2885, allocations: 15.75 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.2886, allocations: 8 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.2886, allocations: 318.8 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.2889, allocations: 55.95 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.2892, allocations: 96.25 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2895, allocations: 81.69 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2895, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006932/0.2902, allocations: 219.1 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.2902, allocations: 37.69 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2903, allocations: 4 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2903, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.2904, allocations: 24.05 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2905, allocations: 0 / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.2909, allocations: 59.69 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.2909, allocations: 12 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.291, allocations: 121.8 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.2911, allocations: 4 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.2911, allocations: 12.36 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2911, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2911, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2911, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.2918, allocations: 394.3 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2918, allocations: 0 / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.2919, allocations: 11.98 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.2919, allocations: 4 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2919, allocations: 4 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.292, allocations: 4 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.292, allocations: 3.953 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.2924, allocations: 219.7 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.2925, allocations: 81.11 kB / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.2925, allocations: 0 / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2926, allocations: 19.97 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.2927, allocations: 11.94 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.2928, allocations: 4 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.2928, allocations: 91.27 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2929, allocations: 0 / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003721/0.2932, allocations: 24 kB / 0.9837 GB, free: 22.41 MB / 0.6198 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001924/0.2934, allocations: 103.2 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005838/0.294, allocations: 183.3 kB / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2941, allocations: 256 / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.2943, allocations: 55.97 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.2946, allocations: 17.8 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.295, allocations: 179 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.2952, allocations: 0.6965 MB / 0.9849 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.996e-05/0.2953, allocations: 4 kB / 0.9849 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.2953, allocations: 11.44 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.2953, allocations: 0 / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.004835/0.3002, allocations: 1.278 MB / 0.9861 GB, free: 19.84 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)