Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001576/0.001576, allocations: 194.3 kB / 16.14 MB, free: 6.656 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.512/1.512, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.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.819/1.819, allocations: 292.2 MB / 0.5484 GB, free: 13.63 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.001505/0.001505, allocations: 65.69 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2729, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002049/0.275, allocations: 0.8246 MB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2765, allocations: 1.161 MB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.2765, allocations: 0 / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.2766, allocations: 7.922 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.2766, allocations: 7.938 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.2771, allocations: 110.7 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2772, allocations: 115.7 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.2773, allocations: 19.98 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.2774, allocations: 43.84 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/0.2775, allocations: 39.88 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2775, allocations: 7.938 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.2776, allocations: 23.98 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.2776, allocations: 15.92 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.2777, allocations: 31.86 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.2779, allocations: 111.7 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.2779, allocations: 4 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2779, allocations: 0 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2779, allocations: 0 / 0.7851 GB, free: 11.45 MB / 0.6075 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.0005397/0.2785, allocations: 417.2 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2785, allocations: 8.031 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.2786, allocations: 16.84 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2787, allocations: 176.2 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2787, allocations: 384 / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.2787, allocations: 8.375 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.2789, allocations: 66.22 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2789, allocations: 192 / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.279, allocations: 7.938 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.279, allocations: 0 / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2792, allocations: 47.95 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.2797, allocations: 348.5 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2798, allocations: 54.61 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.2799, allocations: 32.95 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.28, allocations: 4 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.2802, allocations: 91.3 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2802, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004109/0.2806, allocations: 137.5 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2807, allocations: 55.41 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2808, allocations: 113.8 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.2809, allocations: 37.69 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.2809, allocations: 96.11 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.281, allocations: 19.75 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.281, allocations: 41.69 kB / 0.7868 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2812, allocations: 318.8 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2814, allocations: 59.89 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.2816, allocations: 86.75 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.2818, allocations: 141.9 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2819, allocations: 0 / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004055/0.2823, allocations: 207.1 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.2823, allocations: 37.83 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2823, allocations: 3.984 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2824, allocations: 4.062 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.2825, allocations: 12 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2825, allocations: 7.922 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.2827, allocations: 35.91 kB / 0.7877 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2827, allocations: 12.3 kB / 0.7877 GB, free: 8.516 MB / 0.6075 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 9.256e-05/0.2828, allocations: 130.4 kB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.2828, allocations: 7.906 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.2829, allocations: 12.36 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2829, allocations: 0 / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2829, allocations: 0 / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2829, allocations: 7.984 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.2833, allocations: 382.4 kB / 0.7882 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2834, allocations: 0 / 0.7882 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.2834, allocations: 11.92 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2834, allocations: 4 kB / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2834, allocations: 0 / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2834, allocations: 0 / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2834, allocations: 0 / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.2837, allocations: 215.4 kB / 0.7885 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.2838, allocations: 81.02 kB / 0.7885 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2838, allocations: 4 kB / 0.7885 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.2839, allocations: 11.92 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.284, allocations: 7.938 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.284, allocations: 7.984 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.284, allocations: 87.28 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.284, allocations: 0 / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002573/0.2843, allocations: 24 kB / 0.7887 GB, free: 7.441 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.2845, allocations: 111.2 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.2848, allocations: 179.3 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2849, allocations: 0 / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.285, allocations: 35.97 kB / 0.789 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.2853, allocations: 16.25 kB / 0.789 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.2856, allocations: 176.4 kB / 0.7892 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2859, allocations: 0.6965 MB / 0.7899 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.286, allocations: 7.984 kB / 0.7899 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.286, allocations: 11.44 kB / 0.7899 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.286, allocations: 3.938 kB / 0.7899 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.003948/0.29, allocations: 1.331 MB / 0.7912 GB, free: 4.824 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)